Replace usage of sprintf with sysfs_emit in hwmgr powerplay
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | amdgpu/pm: Replace vega10 usage of sprintf with sysfs_emitdrivers/ | +19 | 0 replies | |
| 2/4 | amdgpu/pm: Replace vega12, 20 usage of sprintf with sysfs_emitdrivers/ drivers/ | +44 | 0 replies | |
| 3/4 | amdgpu/pm: Replace hwmgr smu usage of sprintf with sysfs_emitdrivers/ drivers/ drivers/ | +34 | 0 replies | |
| 4/4 | amdgpu/pm: Replace amdgpu_pm usage of sprintf with sysfs_emitdrivers/ | +8 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Alex Deucher |
|---|---|
| Series | R-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] Replace usage of sprintf with sysfs_emit in hwmgr powerplay
=== Description ===
Replace usage of sprintf with sysfs_emit in hwmgr powerplay
=== Test System ===
* DESKTOP(AMD FX-8350 + VEGA10(687F/c3), BIOS: F2)
+ ISO(Ubuntu 20.04.2 LTS)
+ Kernel(5.13.0-gb1d634be9673-fdoagd5f)
=== Patch Summary ===
linux: ([email protected]:agd5f) origin/amd-staging-drm-next @ 2f56b0d631eb
+ 0ede8d563c58 amdgpu/pm: Replace vega10 usage of sprintf with sysfs_emit
+ 1d666a0652a1 amdgpu/pm: Replace vega12,20 usage of sprintf with sysfs_emit
+ 8bad9ffba08b amdgpu/pm: Replace hwmgr smu usage of sprintf with sysfs_emit
+ 773733df2f32 amdgpu/pm: Replace amdgpu_pm usage of sprintf with sysfs_emit
=== General Test for each platform ===
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_sclkpp_featurespp_power_profile_mode "
for f in $FILES
do
echo === $f === >> $LOGFILE
cat $HWMON_DIR/device/$f >> $LOGFILE
done
cat $LOGFILE
Darren Powell (4):
amdgpu/pm: Replace vega10 usage of sprintf with sysfs_emit amdgpu/pm: Replace vega12,20 usage of sprintf with sysfs_emit amdgpu/pm: Replace hwmgr smu usage of sprintf with sysfs_emit amdgpu/pm: Replace amdgpu_pm usage of sprintf with sysfs_emit
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 16 ++-- .../drm/amd/pm/powerplay/hwmgr/smu10_hwmgr.c | 22 +++--- .../drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 38 +++++----- .../drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c | 7 +- .../drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c | 38 +++++----- .../drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c | 14 ++-- .../drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c | 74 +++++++++---------- 7 files changed, 105 insertions(+), 104 deletions(-)
base-commit: 2f56b0d631eba0e76cfc789d85cc5632256ad42d
Signature · 1 line
2.32.0