Skip to content

Uniformize defines between DCE6, DCE8 and DCE10

Alexandre Demers amd-gfx 4 versions – Applied

Status from this message: Applied the series. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 2 repliesApplied
  2. v34 patches 6 repliesApplied
  3. v22 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches8 repliesSuperseded

Changes in v4 from the cover letter

* Reorder patches so each one compiles properly.
* Remove drm-amdgpu-add-defines-for-pin_offsets-in-DCE8.patch since it was already approved and applied.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3drm/amdgpu: prepare DCE6 uniformisation with DCE8 and DCE10drivers/gpu/drm/amd/amdgpu/dce_v6_0.c drivers/gpu/drm/amd/amdgpu/si.c drivers/gpu/drm/amd/amdgpu/sid.h+43 -3710 replies
2/3drm/amdgpu: fix SI's GB_ADDR_CONFIG_GOLDEN values and wire up sid.h in GFX6drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c drivers/gpu/drm/amd/amdgpu/si_enums.h drivers/gpu/drm/amd/amdgpu/sid.h+13 -120 replies
3/3drm/amdgpu: finish wiring up sid.h in DCE6drivers/gpu/drm/amd/amdgpu/dce_v6_0.c drivers/gpu/drm/amd/amdgpu/si_enums.h drivers/gpu/drm/amd/amdgpu/sid.h+55 -431 reply

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 0/3] Uniformize defines between DCE6, DCE8 and DCE10

Keep a uniform way of where and how variables are defined between DCE6, DCE8 and DCE10. It is easier to understand the code, their similarities and their modifications.

Since sid.h is being wired up in dce_v6_0.c, duplicated defines need to be cleaned up in sid.h and si_enums.h.

V4:
* Reorder patches so each one compiles properly.
* Remove drm-amdgpu-add-defines-for-pin_offsets-in-DCE8.patch since it was already approved and applied.

A bigger round of cleanup is coming to remove more of the duplicated and unused defines found in sid.h and si_enums.h and continue the uniformization.

Alexandre Demers (3):
drm/amdgpu: fix warning and errors caused by duplicated defines in
sid.h
drm/amdgpu: move and fix X_GB_ADDR_CONFIG_GOLDEN values drm/amdgpu: add or move defines for DCE6 in sid.h

 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c |  73 ++---
 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c |  15 +-
 drivers/gpu/drm/amd/amdgpu/si.c       |  68 ++---
 drivers/gpu/drm/amd/amdgpu/si_enums.h |  12 -
 drivers/gpu/drm/amd/amdgpu/sid.h      | 369 ++------------------------
 5 files changed, 111 insertions(+), 426 deletions(-)
Signature · 1 line
2.48.1