mirror of
https://github.com/torvalds/linux.git
synced 2026-05-01 21:12:29 -04:00
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>
This commit is contained in:
committed by
Alex Deucher
parent
9aadb02fa2
commit
8e46cabf8e
@@ -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);
|
||||
|
||||
@@ -148,8 +148,6 @@
|
||||
#define WAIT_REG_MEM_FUNCTION(x) ((x) << 0)
|
||||
#define WAIT_REG_MEM_ENGINE(x) ((x) << 8)
|
||||
|
||||
#define GFX6_NUM_GFX_RINGS 1
|
||||
#define GFX6_NUM_COMPUTE_RINGS 2
|
||||
#define RLC_SAVE_AND_RESTORE_STARTING_OFFSET 0x90
|
||||
#define RLC_CLEAR_STATE_DESCRIPTOR_OFFSET 0x3D
|
||||
|
||||
|
||||
Reference in New Issue
Block a user