diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-03-28 21:43:46 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-04-09 21:22:08 +0200 |
commit | 973207ae3d7c3c92df4a382df5d7bd695deaa904 (patch) | |
tree | 2e749d7b0784ee7593d21dc73fca710ff8cb6467 /rust/helpers/helpers.c | |
parent | 6fec833b9d70c54ceacbf7d07665215fbd0cddef (diff) |
cpufreq: intel_pstate: Rearrange max frequency updates handling code
Rename __intel_pstate_update_max_freq() to intel_pstate_update_max_freq()
and move the cpufreq policy reference counting and locking into it (and
implement the locking with the recently introduced cpufreq policy "write"
locking guard).
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://patch.msgid.link/2315023.iZASKD2KPV@rjwysocki.net
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions