diff options
author | 2025-03-21 21:46:43 -0400 | |
---|---|---|
committer | 2025-04-07 15:18:32 -0400 | |
commit | 8e46cabf8ecef33b9e4e0977931e94c217ec6e87 (patch) | |
tree | 816512df78b5f67f0e497ac6470ed68a1ace2a84 /drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | |
parent | drm/radeon: fix MAX_POWER_SHIFT value (diff) | |
download | wireguard-linux-8e46cabf8ecef33b9e4e0977931e94c217ec6e87.tar.xz wireguard-linux-8e46cabf8ecef33b9e4e0977931e94c217ec6e87.zip |
drm/amdgpu: move GFX6 defines into gfx_v6_0.c
Send a few GFX6 defines where it's used in GFX6.
Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c index 13fbee46417a..fedf88595597 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c @@ -53,6 +53,9 @@ #define VERDE_GB_ADDR_CONFIG_GOLDEN 0x12010002 #define HAINAN_GB_ADDR_CONFIG_GOLDEN 0x02010001 +#define GFX6_NUM_GFX_RINGS 1 +#define GFX6_NUM_COMPUTE_RINGS 2 + static void gfx_v6_0_set_ring_funcs(struct amdgpu_device *adev); static void gfx_v6_0_set_irq_funcs(struct amdgpu_device *adev); static void gfx_v6_0_get_cu_info(struct amdgpu_device *adev); |