summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c
diff options
context:
space:
mode:
authorDarren Powell <darren.powell@amd.com>2021-07-14 19:11:17 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-08-10 10:35:01 -0400
commit0b023410da60a14090fd9254909c495d730c7aa1 (patch)
treec95687bfacf4340f58237ed116bc8eb7e59ff343 /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c
parent21f0742af1ddb69e12b0b7f9d176a528846c4690 (diff)
amdgpu/pm: Replace vega12,20 usage of sprintf with sysfs_emit
=== 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 <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