Skip to content

Commit b37ef72

Browse files
gautshenrafaeljw
authored andcommitted
cpufreq: amd-pstate: Document *_limit_* fields in struct amd_cpudata
The four fields of struct cpudata namely min_limit_perf, max_limit_perf, min_limit_freq, max_limit_freq introduced in the commit febab20("cpufreq/amd-pstate: Fix scaling_min_freq and scaling_max_freq update") are currently undocumented Add comments describing these fields Acked-by: Huang Rui <[email protected]> Fixes: febab20("cpufreq/amd-pstate: Fix scaling_min_freq and scaling_max_freq update") Reviewed-by: Li Meng <[email protected]> Tested-by: Dhananjay Ugwekar <[email protected]> Signed-off-by: Gautham R. Shenoy <[email protected]> Signed-off-by: Perry Yuan <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent b8f8583 commit b37ef72

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/linux/amd-pstate.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ struct amd_aperf_mperf {
4949
* @lowest_perf: the absolute lowest performance level of the processor
5050
* @prefcore_ranking: the preferred core ranking, the higher value indicates a higher
5151
* priority.
52+
* @min_limit_perf: Cached value of the performance corresponding to policy->min
53+
* @max_limit_perf: Cached value of the performance corresponding to policy->max
54+
* @min_limit_freq: Cached value of policy->min
55+
* @max_limit_freq: Cached value of policy->max
5256
* @max_freq: the frequency that mapped to highest_perf
5357
* @min_freq: the frequency that mapped to lowest_perf
5458
* @nominal_freq: the frequency that mapped to nominal_perf

0 commit comments

Comments
 (0)