aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorDarren Powell <[email protected]>2021-11-24 00:51:34 +0000
committerAlex Deucher <[email protected]>2021-12-01 21:03:49 +0000
commit94a80b5bc7a23fd5ccaa3ba43ce25cbdb9eefd62 (patch)
treed9b7cddda69f4ce84676f40d0514c278ff4258d8 /drivers/gpu/drm/amd/amdgpu
parentamdgpu/pm: Create shared array of power profile name strings (diff)
downloadkernel-94a80b5bc7a23fd5ccaa3ba43ce25cbdb9eefd62.tar.gz
kernel-94a80b5bc7a23fd5ccaa3ba43ce25cbdb9eefd62.zip
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 <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions