summaryrefslogtreecommitdiff
path: root/scripts/Makefile.modfinal
diff options
context:
space:
mode:
authorDarren Powell <darren.powell@amd.com>2021-07-09 23:58:39 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-08-10 10:34:50 -0400
commite738c2f0e654832f9209a962c5020741aee30620 (patch)
tree33104798dc705af5827ca1d8b08c6441ecf4e568 /scripts/Makefile.modfinal
parentfe14c2859ffd18ecec263b0e24a5737478ae2529 (diff)
amdgpu/pm: Replace smu12/13 usage of sprintf with sysfs_emit
initial modification of files renoir_ppt.c aldebaran_ppt.c yellow_carp_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 'scripts/Makefile.modfinal')
0 files changed, 0 insertions, 0 deletions