]> www.infradead.org Git - users/hch/misc.git/commit
drm/amdgpu: fix SI's GB_ADDR_CONFIG_GOLDEN values and wire up sid.h in GFX6
authorAlexandre Demers <alexandre.f.demers@gmail.com>
Sun, 9 Mar 2025 16:48:51 +0000 (12:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Mar 2025 16:36:48 +0000 (12:36 -0400)
commit760632fa2e3dbb13a9b55acbb960592628d274dd
tree16a07a543e2a2f83df38e951b17556ea2ac6d581
parent20fb56dfd8d20ae4406007d0601fa024d24a3301
drm/amdgpu: fix SI's GB_ADDR_CONFIG_GOLDEN values and wire up sid.h in GFX6

By wiring up sid.h in GFX6, we end up with a few duplicated defines such as
the golden registers. Let's clean this up.

[TAHITI,VERDE, HAINAN]_GB_ADDR_CONFIG_GOLDEN were defined both in sid.h
and under si_enums.h, with different values. Keep the values used under radeon
and move them under gfx_v6_0.c where they are used (as it is done under cik)

Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c
drivers/gpu/drm/amd/amdgpu/si_enums.h
drivers/gpu/drm/amd/amdgpu/sid.h