aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorDarren Powell <[email protected]>2021-07-17 04:15:43 +0000
committerAlex Deucher <[email protected]>2021-08-10 14:35:07 +0000
commit6db0c87a0a8ee1f0748856d936073619cb1440cd (patch)
tree10b7631a6d88dc7c9a61a24f541e5ec66f06fcca /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentamdgpu/pm: Replace vega12,20 usage of sprintf with sysfs_emit (diff)
downloadkernel-6db0c87a0a8ee1f0748856d936073619cb1440cd.tar.gz
kernel-6db0c87a0a8ee1f0748856d936073619cb1440cd.zip
amdgpu/pm: Replace hwmgr smu usage of sprintf with sysfs_emit
replacing printfs with sysfs_emit minor smu7 change to remove compiler warning comparison of int and uint32_t minor smu8 change to remove compiler warning comparison of int and uint32_t === Test === 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} LOGFILE=pp_printf.test.log lspci -nn | grep "VGA\|Display" > $LOGFILE FILES="pp_dpm_sclk 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: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions