Skip to content

Small tidy up of CIK code

Alexandre Demers amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 of 5 patches 6 repliesIn review

4 of 5 patches are in this archive. The cover letter announces 5.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/amdgpu: use gmc_v7_0_is_idle() since it is available under GMC7drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c+1 -81 reply
2/5drm/amdgpu: use cik_sdma_is_idle() in CIK SDMAdrivers/gpu/drm/amd/amdgpu/cik_sdma.c+1 -50 replies
3/5drm/amdgpu: small cleanup to CIK SDMAdrivers/gpu/drm/amd/amdgpu/cik_sdma.c+3 -90 replies
4/5drm/amdgpu: move X_GB_ADDR_CONFIG_GOLDEN in GFX7drivers/gpu/drm/amd/amdgpu/cikd.h drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Small tidy up of CIK code

This series tidy up CIK code a bit.

It uses some functions already available to remove redundant code in GMC7 and CIK SDMA.
Some GOLDEN defines are moved into GFX7, the only place where they are used. It fixes coding style in VI and DCE8.

Alexandre Demers (5):
drm/amdgpu: use gmc_v7_0_is_idle() since it is available under GMC7 drm/amdgpu: use cik_sdma_is_idle() in CIK SDMA drm/amdgpu: small cleanup to CIK SDMA
drm/amdgpu: move X_GB_ADDR_CONFIG_GOLDEN in GFX7 drm/amdgpu: fix style in dce_v8_0.c and in vi.c

 drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 18 ++++--------------
 drivers/gpu/drm/amd/amdgpu/cikd.h     |  3 ---
 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 10 +++-------
 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c |  3 +++
 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c |  9 +--------
 drivers/gpu/drm/amd/amdgpu/vi.c       |  8 ++++++++
 6 files changed, 18 insertions(+), 31 deletions(-)
Signature · 1 line
2.49.0