Skip to content

Commit

Permalink
performance: Update based on ARC review
Browse files Browse the repository at this point in the history
- Fix rate_limit to transition_latency
- Add more description for PERF_SET_LIMIT

#79 (comment)

Signed-off-by: Ley Foon Tan <[email protected]>
  • Loading branch information
Ley Foon Tan committed Jan 7, 2025
1 parent 2e63874 commit ff6e164
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/srvgrp-performance.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ loop:
for (i = 0; i < list.returned; i++, 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 @@ -734,7 +734,15 @@ 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. Any subsequent calls to `PERF_SET_LEVEL`
will ensure the requested performance level stays within the defined range.

If the current performance level falls outside the newly defined minimum and
maximum range, the platform microcontroller firmware will automatically adjust
it to comply with the updated limits. If notifications are enabled, the
platform microcontroller firmware 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 ff6e164

Please sign in to comment.