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

Alexandre Demers alexandre.f.demers at gmail.com
Sat Mar 22 18:37:41 UTC 2025


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(-)

-- 
2.49.0



More information about the amd-gfx mailing list