Darren Powell
94a80b5bc7
amdgpu/pm: Modify implmentations of get_power_profile_mode to use amdgpu_pp_profile_name
After modifying navi10 in previous commit, extend the changes so all implementations of
pp_hwmgr_func->get_power_profile_mode and pptable_funcs->get_power_profile_mode use
amdgpu_pp_profile_name
== Test ==
LOGFILE=pp_profile_strings.test.log
AMDGPU_PCI_ADDR=`lspci -nn | grep "VGA\|Display" | cut -d " " -f 1`
AMDGPU_HWMON=`ls -la /sys/class/hwmon | grep $AMDGPU_PCI_ADDR | awk '{print $9}'`
HWMON_DIR=/sys/class/hwmon/${AMDGPU_HWMON}
lspci -nn | grep "VGA\|Display" > $LOGFILE
FILES="pp_power_profile_mode "
for f in $FILES
do
echo === $f === >> $LOGFILE
cat $HWMON_DIR/device/$f >> $LOGFILE
done
cat $LOGFILE
Signed-off-by: Darren Powell <darren.powell@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-12-01 16:03:49 -05:00
..
2020-10-30 01:00:27 -04:00
2021-06-01 22:46:05 -04:00
2020-10-09 14:43:30 -04:00
2021-01-11 16:09:13 -05:00
2020-12-02 17:37:16 -05:00
2021-05-10 18:06:42 -04:00
2020-10-27 11:59:03 -04:00
2020-12-01 16:04:44 -05:00
2021-09-29 17:30:00 -04:00
2020-12-01 16:04:44 -05:00
2020-10-27 11:59:10 -04:00
2021-01-11 16:09:13 -05:00
2020-12-03 15:54:03 -05:00
2021-12-01 16:03:49 -05:00
2020-10-27 12:00:47 -04:00
2020-10-27 11:59:16 -04:00
2021-08-16 15:35:56 -04:00
2021-08-16 15:35:56 -04:00
2021-11-24 14:06:53 -05:00
2021-12-01 16:03:49 -05:00
2021-01-05 11:33:48 -05:00
2020-12-01 16:04:45 -05:00
2021-11-05 14:11:14 -04:00
2021-12-01 16:03:49 -05:00
2021-01-11 16:09:13 -05:00
2021-02-18 16:43:09 -05:00
2020-12-01 16:04:44 -05:00
2021-08-16 15:35:56 -04:00
2021-08-16 15:35:56 -04:00
2021-11-24 14:06:53 -05:00
2020-08-24 12:23:25 -04:00
2020-11-10 14:27:54 -05:00
2021-05-27 12:33:50 -04:00
2021-05-10 18:08:12 -04:00
2021-12-01 16:03:49 -05:00
2020-08-26 16:40:19 -04:00
2021-08-16 15:35:56 -04:00
2021-08-16 15:35:56 -04:00