aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorDarren Powell <[email protected]>2021-07-10 04:24:43 +0000
committerAlex Deucher <[email protected]>2021-08-10 14:34:55 +0000
commit21f0742af1ddb69e12b0b7f9d176a528846c4690 (patch)
tree3b5e30b622fa6c6d7348cabd41dc2cbf982bbe8d /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentamdgpu/pm: Replace smu12/13 usage of sprintf with sysfs_emit (diff)
downloadkernel-21f0742af1ddb69e12b0b7f9d176a528846c4690.tar.gz
kernel-21f0742af1ddb69e12b0b7f9d176a528846c4690.zip
amdgpu/pm: Replace vega10 usage of sprintf with sysfs_emit
initial modification of files vega10_hwmgr.c === 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_features 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