aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c
diff options
context:
space:
mode:
authorDarren Powell <darren.powell@amd.com>2021-06-30 23:51:13 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-08-10 10:34:44 -0400
commitfe14c2859ffd18ecec263b0e24a5737478ae2529 (patch)
tree646a97bd3c8088f15a31d1b25ad72d71e15abb30 /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c
parent828db598bfcdad388d85c1ff31e530c190d63d16 (diff)
downloadlinux-fe14c2859ffd18ecec263b0e24a5737478ae2529.tar.gz
linux-fe14c2859ffd18ecec263b0e24a5737478ae2529.tar.bz2
linux-fe14c2859ffd18ecec263b0e24a5737478ae2529.zip
amdgpu/pm: Replace smu11 usage of sprintf with sysfs_emit
modification of smu11 files arcturus_ppt.c sienna_cichlid_ppt.c vangogh_ppt.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_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: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c')
0 files changed, 0 insertions, 0 deletions