drm/amd/amdgpu: Fix SQ_DEBUG_STS_GLOBAL* registers
Forgot to subtract the SOC15 IP offsetand add the BASE_IDX values. Signed-off-by: Tom St Denis <tom.stdenis@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Родитель
d31bdabbf5
Коммит
e3569fab49
|
@ -21,8 +21,10 @@
|
|||
#ifndef _gc_10_1_0_OFFSET_HEADER
|
||||
#define _gc_10_1_0_OFFSET_HEADER
|
||||
|
||||
#define mmSQ_DEBUG_STS_GLOBAL 0x2309
|
||||
#define mmSQ_DEBUG_STS_GLOBAL2 0x2310
|
||||
#define mmSQ_DEBUG_STS_GLOBAL 0x0309
|
||||
#define mmSQ_DEBUG_STS_GLOBAL_BASE_IDX 0
|
||||
#define mmSQ_DEBUG_STS_GLOBAL2 0x0310
|
||||
#define mmSQ_DEBUG_STS_GLOBAL2_BASE_IDX 0
|
||||
|
||||
// addressBlock: gc_sdma0_sdma0dec
|
||||
// base address: 0x4980
|
||||
|
|
|
@ -22,8 +22,10 @@
|
|||
#ifndef _gc_10_3_0_OFFSET_HEADER
|
||||
#define _gc_10_3_0_OFFSET_HEADER
|
||||
|
||||
#define mmSQ_DEBUG_STS_GLOBAL 0x2309
|
||||
#define mmSQ_DEBUG_STS_GLOBAL2 0x2310
|
||||
#define mmSQ_DEBUG_STS_GLOBAL 0x0309
|
||||
#define mmSQ_DEBUG_STS_GLOBAL_BASE_IDX 0
|
||||
#define mmSQ_DEBUG_STS_GLOBAL2 0x0310
|
||||
#define mmSQ_DEBUG_STS_GLOBAL2_BASE_IDX 0
|
||||
|
||||
// addressBlock: gc_sdma0_sdma0dec
|
||||
// base address: 0x4980
|
||||
|
|
|
@ -21,9 +21,12 @@
|
|||
#ifndef _gc_9_0_OFFSET_HEADER
|
||||
#define _gc_9_0_OFFSET_HEADER
|
||||
|
||||
#define mmSQ_DEBUG_STS_GLOBAL 0x2309
|
||||
#define mmSQ_DEBUG_STS_GLOBAL2 0x2310
|
||||
#define mmSQ_DEBUG_STS_GLOBAL3 0x2311
|
||||
#define mmSQ_DEBUG_STS_GLOBAL 0x0309
|
||||
#define mmSQ_DEBUG_STS_GLOBAL_BASE_IDX 0
|
||||
#define mmSQ_DEBUG_STS_GLOBAL2 0x0310
|
||||
#define mmSQ_DEBUG_STS_GLOBAL2_BASE_IDX 0
|
||||
#define mmSQ_DEBUG_STS_GLOBAL3 0x0311
|
||||
#define mmSQ_DEBUG_STS_GLOBAL3_BASE_IDX 0
|
||||
|
||||
// addressBlock: gc_grbmdec
|
||||
// base address: 0x8000
|
||||
|
|
|
@ -21,9 +21,12 @@
|
|||
#ifndef _gc_9_1_OFFSET_HEADER
|
||||
#define _gc_9_1_OFFSET_HEADER
|
||||
|
||||
#define mmSQ_DEBUG_STS_GLOBAL 0x2309
|
||||
#define mmSQ_DEBUG_STS_GLOBAL2 0x2310
|
||||
#define mmSQ_DEBUG_STS_GLOBAL3 0x2311
|
||||
#define mmSQ_DEBUG_STS_GLOBAL 0x0309
|
||||
#define mmSQ_DEBUG_STS_GLOBAL_BASE_IDX 0
|
||||
#define mmSQ_DEBUG_STS_GLOBAL2 0x0310
|
||||
#define mmSQ_DEBUG_STS_GLOBAL2_BASE_IDX 0
|
||||
#define mmSQ_DEBUG_STS_GLOBAL3 0x0311
|
||||
#define mmSQ_DEBUG_STS_GLOBAL3_BASE_IDX 0
|
||||
|
||||
// addressBlock: gc_grbmdec
|
||||
// base address: 0x8000
|
||||
|
|
|
@ -21,9 +21,12 @@
|
|||
#ifndef _gc_9_2_1_OFFSET_HEADER
|
||||
#define _gc_9_2_1_OFFSET_HEADER
|
||||
|
||||
#define mmSQ_DEBUG_STS_GLOBAL 0x2309
|
||||
#define mmSQ_DEBUG_STS_GLOBAL2 0x2310
|
||||
#define mmSQ_DEBUG_STS_GLOBAL3 0x2311
|
||||
#define mmSQ_DEBUG_STS_GLOBAL 0x0309
|
||||
#define mmSQ_DEBUG_STS_GLOBAL_BASE_IDX 0
|
||||
#define mmSQ_DEBUG_STS_GLOBAL2 0x0310
|
||||
#define mmSQ_DEBUG_STS_GLOBAL2_BASE_IDX 0
|
||||
#define mmSQ_DEBUG_STS_GLOBAL3 0x0311
|
||||
#define mmSQ_DEBUG_STS_GLOBAL3_BASE_IDX 0
|
||||
|
||||
// addressBlock: gc_grbmdec
|
||||
// base address: 0x8000
|
||||
|
|
Загрузка…
Ссылка в новой задаче