aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-12-28 22:24:10 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-12-30 19:10:02 +0100
commit99387b016022c29234c4ebf9abd34358c6e56532 (patch)
tree684dc0cf43311e196bd2b08b6a5487c55fe3ad3f /include/linux/fpga/fpga-bridge.h
parentc02d5feb6e2f60affc6ba8606d8d614c071e2ba6 (diff)
ACPI: processor: perflib: Avoid updating frequency QoS unnecessarily
Modify acpi_processor_get_platform_limit() to avoid updating its frequency QoS request when the _PPC return value has not changed by comparing that value to the previous _PPC return value stored in the performance_platform_limit field of the struct acpi_processor corresponding to the given CPU. While at it, do the _PPC return value check against the state count earlier, to avoid setting performance_platform_limit to an invalid value, and make acpi_processor_ppc_init() use FREQ_QOS_MAX_DEFAULT_VALUE as the "no limit" frequency QoS for consistency. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions