Ayush Jain
142c169b31
cpufreq/amd-pstate: Only print supported EPP values for performance governor
...
show_energy_performance_available_preferences() to show only supported
values which is performance in performance governor policy.
-------Before--------
$ cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_driver
amd-pstate-epp
$ cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
performance
$ cat /sys/devices/system/cpu/cpu1/cpufreq/energy_performance_preference
performance
$ cat /sys/devices/system/cpu/cpu1/cpufreq/energy_performance_available_preferences
default performance balance_performance balance_power power
-------After--------
$ cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_driver
amd-pstate-epp
$ cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
performance
$ cat /sys/devices/system/cpu/cpu1/cpufreq/energy_performance_preference
performance
$ cat /sys/devices/system/cpu/cpu1/cpufreq/energy_performance_available_preferences
performance
Fixes: ffa5096a7c33 ("cpufreq: amd-pstate: implement Pstate EPP support for the AMD processors")
Suggested-by: Wyes Karny <wyes.karny@amd.com>
Signed-off-by: Ayush Jain <ayush.jain3@amd.com>
Reviewed-by: Wyes Karny <wyes.karny@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2023-11-29 22:04:15 +01:00
..
2023-07-20 16:02:13 +05:30
2022-11-30 19:50:04 +01:00
2021-12-30 18:51:39 +01:00
2022-03-09 19:53:01 +01:00
2023-08-28 14:12:05 +02:00
2023-11-29 22:04:15 +01:00
2023-03-01 19:34:54 +01:00
2023-06-19 09:50:31 +05:30
2023-07-20 16:01:57 +05:30
2022-08-30 13:49:23 +05:30
2023-08-03 11:25:04 +05:30
2023-08-17 14:24:58 +05:30
2023-10-06 21:55:13 +02:00
2022-02-04 19:22:34 +01:00
2023-08-29 20:21:35 +02:00
2022-04-13 15:22:41 +02:00
2022-07-25 20:38:01 +02:00
2019-06-19 17:09:55 +02:00
2020-11-10 18:31:17 +01:00
2020-11-10 18:31:17 +01:00
2023-10-24 22:02:06 +02:00
2023-10-06 22:01:26 +02:00
2023-11-02 11:04:53 +05:30
2023-07-20 16:02:12 +05:30
2020-03-12 15:43:52 +05:30
2020-01-27 10:33:33 +01:00
2023-10-31 15:38:12 -10:00
2023-07-20 16:02:13 +05:30
2020-10-27 18:42:54 +01:00
2020-03-24 21:31:27 +01:00
2023-04-20 19:30:01 +02:00
2020-01-27 10:33:33 +01:00
2022-09-26 11:15:04 +05:30
2023-11-23 12:50:40 +05:30
2023-07-20 16:02:13 +05:30
2023-09-11 20:18:17 +02:00
2023-09-11 08:13:17 +00:00
2023-10-25 15:51:21 +05:30
2019-11-29 11:52:02 +01:00
2023-06-21 18:44:56 +02:00
2023-07-20 16:02:13 +05:30
2022-11-03 19:13:34 +01:00
2020-03-24 21:31:27 +01:00
2021-06-07 17:43:52 +02:00
2023-09-11 08:13:17 +00:00
2023-04-13 17:46:35 -05:00
2023-07-20 16:02:12 +05:30
2023-08-11 06:15:21 +05:30
2022-06-10 14:51:35 +02:00
2023-07-20 16:02:14 +05:30
2020-08-23 17:36:59 -05:00
2022-04-13 17:18:45 +02:00
2023-08-29 20:41:29 +02:00
2023-09-27 16:47:09 +05:30
2023-04-13 17:46:35 -05:00
2020-03-24 21:31:27 +01:00
2020-03-24 21:31:27 +01:00
2023-08-28 12:27:30 +05:30
2019-06-05 17:37:08 +02:00
2021-10-05 16:33:05 +02:00
2023-07-20 16:01:57 +05:30
2023-07-20 16:01:57 +05:30
2019-08-26 10:02:01 +02:00
2022-05-07 22:55:49 +02:00
2022-05-07 22:55:49 +02:00
2023-08-23 20:31:08 +05:30
2023-11-23 13:08:01 +05:30
2023-07-20 16:02:13 +05:30
2023-07-20 16:02:13 +05:30
2019-10-23 08:53:23 +05:30
2021-10-05 16:33:05 +02:00
2023-01-12 10:53:12 +01:00
2021-05-21 18:52:13 +02:00
2023-09-21 16:35:14 +01:00
2023-07-20 16:02:12 +05:30
2021-09-02 18:04:17 +02:00
2023-07-12 12:45:18 +02:00
2023-07-12 12:45:18 +02:00
2023-04-13 17:46:35 -05:00
2020-03-24 21:31:27 +01:00
2020-03-24 21:31:27 +01:00
2020-10-28 18:04:07 +01:00
2020-03-24 21:31:27 +01:00
2023-07-20 16:01:57 +05:30
2023-07-20 16:02:12 +05:30
2023-04-27 10:09:05 -07:00
2023-04-27 10:09:05 -07:00
2023-07-20 16:02:13 +05:30
2023-10-10 11:06:03 +05:30
2023-10-12 09:10:22 +05:30
2023-07-20 16:02:12 +05:30