diff options
| author | Darren Powell <[email protected]> | 2021-07-10 03:58:39 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-08-10 14:34:50 +0000 |
| commit | e738c2f0e654832f9209a962c5020741aee30620 (patch) | |
| tree | 33104798dc705af5827ca1d8b08c6441ecf4e568 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | amdgpu/pm: Replace smu11 usage of sprintf with sysfs_emit (diff) | |
| download | kernel-e738c2f0e654832f9209a962c5020741aee30620.tar.gz kernel-e738c2f0e654832f9209a962c5020741aee30620.zip | |
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 <[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
