Skip to content

Commit

Permalink
Merge pull request #86 from lftan/arc-perf2
Browse files Browse the repository at this point in the history
performance: Update based on ARC review
  • Loading branch information
pathakraul authored Jan 9, 2025
2 parents bcd8da4 + 919d292 commit 126f04b
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions src/srvgrp-performance.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ loop:
opp[num].index = list.entry[entry_num++];
opp[num].freq = list.entry[entry_num++];
opp[num].power = list.entry[entry_num++];
opp[num].rate_limit = list.entry[entry_num++];
opp[num].transition_latency = list.entry[entry_num++];
}

/* Check if there are remaining OPP to be read */
Expand Down Expand Up @@ -803,7 +803,31 @@ performance domain in the system.

==== Service: PERF_SET_LIMIT (SERVICE_ID: 0x08)
This service is used to set the performance limit of a specific
performance domain in the system.
performance domain in the system. The platform must ensure that any subsequent
calls to `PERF_SET_LEVEL` to adjust the performance level remain within the
currently defined limits.

If the current performance level falls outside the newly defined minimum or
maximum ranges, the platform will automatically adjust it to comply with the
updated limits.

[NOTE]
====
Examples:
* If the current performance level is below the new minimum limit, the platform
will set it to the new minimum limit.
* If the current performance level exceeds the new maximum limit, the platform
will set it to the new maximum limit.
* No adjustment is required if the current performance level is within the new
limits.
====

If notifications are enabled, the platform will send an appropriate
notification (e.g., `PERF_LEVEL_CHANGE`, `PERF_POWER_CHANGE`, etc.) to the
application processor.

[#table_perf_setlimit_request_data]
.Request Data
Expand Down

0 comments on commit 126f04b

Please sign in to comment.