linux/drivers/gpu/drm/amd/pm/powerplay
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
..
hwmgr amdgpu/pm: Modify implmentations of get_power_profile_mode to use amdgpu_pp_profile_name 2021-12-01 16:03:49 -05:00
smumgr drm/amd/pm: invalidate hdp before CPU access the memory written by GPU 2020-12-08 23:01:24 -05:00
amd_powerplay.c drm/amdgpu/pm: clean up some inconsistent indenting 2021-11-22 14:46:10 -05:00
cik_dpm.h
kv_dpm.c amdgpu/pm: read_sensor() report failure apporpriately 2021-02-26 17:23:49 -05:00
kv_dpm.h
kv_smc.c
Makefile
ppsmc.h
r600_dpm.h
si_dpm.c drm/amd/pm: Update intermediate power state for SI 2021-09-23 16:35:19 -04:00
si_dpm.h
si_smc.c
sislands_smc.h drm/amd/pm: Fix out-of-bounds bug 2021-05-10 18:14:49 -04:00