diff options
| author | Darren Powell <[email protected]> | 2021-07-01 03:51:13 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-08-10 14:34:44 +0000 |
| commit | fe14c2859ffd18ecec263b0e24a5737478ae2529 (patch) | |
| tree | 646a97bd3c8088f15a31d1b25ad72d71e15abb30 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | amdgpu/pm: Replace navi10 usage of sprintf with sysfs_emit (diff) | |
| download | kernel-fe14c2859ffd18ecec263b0e24a5737478ae2529.tar.gz kernel-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 <[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
