Skip to content

Normalize redundant variables

Luben Tuikov amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/amdgpu: Remove redundant ras->supporteddrivers/gpu/drm/amd/amdgpu/amdgpu_device.c drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +5 more+18 -170 replies
2/4drm/amdgpu: Move up ras_hw_supporteddrivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h+28 -340 replies
3/4drm/amdgpu: Rename to ras_*_enableddrivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_device.c drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +8 more+41 -410 replies
4/4drm/amdgpu: Export ras_*_enabled to debugfsdrivers/gpu/drm/amd/amdgpu/amdgpu_ras.c+4 -20 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.

PatchChristian KönigJohn Clements
SeriesA-b 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.

Read the v1 thread

Cover letter [PATCH 0/4] Normalize redundant variables

Classic normalization of a redundant variable. There is no need to have two variables representing the same quantity. Move up to the structure which represents the object which determines their values. Rename to a consistent name, and export to debugfs for debugging.

Luben Tuikov (4):
drm/amdgpu: Remove redundant ras->supported drm/amdgpu: Move up ras_hw_supported drm/amdgpu: Rename to ras_*_enabled drm/amdgpu: Export ras_*_enabled to debugfs

 drivers/gpu/drm/amd/amdgpu/amdgpu.h           |  3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c    |  6 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c       |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c       |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c       | 91 +++++++++----------
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h       |  5 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c         |  2 +-
 drivers/gpu/drm/amd/amdgpu/soc15.c            |  7 +-
 drivers/gpu/drm/amd/amdkfd/kfd_topology.c     |  6 +-
 .../drm/amd/pm/powerplay/hwmgr/vega20_baco.c  |  2 +-
 .../gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c    |  3 +-
 11 files changed, 63 insertions(+), 66 deletions(-)
Cc Alexander Deucher <[email protected]>
Cc John Clements <[email protected]>
Cc Hawking Zhang <[email protected]>
Signature · 6 lines
2.31.0.97.g1424303384

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx