Commit 055e23e3 authored by Tom St Denis's avatar Tom St Denis Committed by Alex Deucher

drm/amd/amdgpu: Add SQ debug registers to GFX9/GFX10 headers (v2)

Requested for UMR support.

(v2): Also add reg/bits for gfx9 headers
Signed-off-by: default avatarTom St Denis <tom.stdenis@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7504d3bb
...@@ -11151,6 +11151,7 @@ ...@@ -11151,6 +11151,7 @@
// addressBlock: sqind // addressBlock: sqind
// base address: 0x0 // base address: 0x0
#define ixSQ_DEBUG_STS_LOCAL 0x0008
#define ixSQ_WAVE_MODE 0x0101 #define ixSQ_WAVE_MODE 0x0101
#define ixSQ_WAVE_STATUS 0x0102 #define ixSQ_WAVE_STATUS 0x0102
#define ixSQ_WAVE_TRAPSTS 0x0103 #define ixSQ_WAVE_TRAPSTS 0x0103
...@@ -42546,6 +42546,26 @@ ...@@ -42546,6 +42546,26 @@
// addressBlock: sqind // addressBlock: sqind
//SQ_DEBUG_STS_LOCAL
#define SQ_DEBUG_STS_LOCAL__BUSY_MASK 0x00000001L
#define SQ_DEBUG_STS_LOCAL__BUSY__SHIFT 0x00000000
#define SQ_DEBUG_STS_LOCAL__WAVE_LEVEL_MASK 0x000003f0L
#define SQ_DEBUG_STS_LOCAL__WAVE_LEVEL__SHIFT 0x00000004
#define SQ_DEBUG_STS_LOCAL__SQ_BUSY_MASK 0x00001000L
#define SQ_DEBUG_STS_LOCAL__SQ_BUSY__SHIFT 0x0000000C
#define SQ_DEBUG_STS_LOCAL__IS_BUSY_MASK 0x00002000L
#define SQ_DEBUG_STS_LOCAL__IS_BUSY__SHIFT 0x0000000D
#define SQ_DEBUG_STS_LOCAL__IB_BUSY_MASK 0x00004000L
#define SQ_DEBUG_STS_LOCAL__IB_BUSY__SHIFT 0x0000000E
#define SQ_DEBUG_STS_LOCAL__ARB_BUSY_MASK 0x00008000L
#define SQ_DEBUG_STS_LOCAL__ARB_BUSY__SHIFT 0x0000000F
#define SQ_DEBUG_STS_LOCAL__EXP_BUSY_MASK 0x00010000L
#define SQ_DEBUG_STS_LOCAL__EXP_BUSY__SHIFT 0x00000010
#define SQ_DEBUG_STS_LOCAL__BRMSG_BUSY_MASK 0x00020000L
#define SQ_DEBUG_STS_LOCAL__BRMSG_BUSY__SHIFT 0x00000011
#define SQ_DEBUG_STS_LOCAL__VM_BUSY_MASK 0x00040000L
#define SQ_DEBUG_STS_LOCAL__VM_BUSY__SHIFT 0x00000018
//SQ_WAVE_MODE //SQ_WAVE_MODE
#define SQ_WAVE_MODE__FP_ROUND__SHIFT 0x0 #define SQ_WAVE_MODE__FP_ROUND__SHIFT 0x0
#define SQ_WAVE_MODE__FP_DENORM__SHIFT 0x4 #define SQ_WAVE_MODE__FP_DENORM__SHIFT 0x4
...@@ -13277,6 +13277,7 @@ ...@@ -13277,6 +13277,7 @@
// addressBlock: sqind // addressBlock: sqind
// base address: 0x0 // base address: 0x0
#define ixSQ_DEBUG_STS_LOCAL 0x0008
#define ixSQ_WAVE_ACTIVE 0x000a #define ixSQ_WAVE_ACTIVE 0x000a
#define ixSQ_WAVE_VALID_AND_IDLE 0x000b #define ixSQ_WAVE_VALID_AND_IDLE 0x000b
#define ixSQ_WAVE_MODE 0x0101 #define ixSQ_WAVE_MODE 0x0101
...@@ -46269,6 +46269,25 @@ ...@@ -46269,6 +46269,25 @@
// addressBlock: sqind // addressBlock: sqind
//SQ_DEBUG_STS_LOCAL
#define SQ_DEBUG_STS_LOCAL__BUSY_MASK 0x00000001L
#define SQ_DEBUG_STS_LOCAL__BUSY__SHIFT 0x00000000
#define SQ_DEBUG_STS_LOCAL__WAVE_LEVEL_MASK 0x000003f0L
#define SQ_DEBUG_STS_LOCAL__WAVE_LEVEL__SHIFT 0x00000004
#define SQ_DEBUG_STS_LOCAL__SQ_BUSY_MASK 0x00001000L
#define SQ_DEBUG_STS_LOCAL__SQ_BUSY__SHIFT 0x0000000C
#define SQ_DEBUG_STS_LOCAL__IS_BUSY_MASK 0x00002000L
#define SQ_DEBUG_STS_LOCAL__IS_BUSY__SHIFT 0x0000000D
#define SQ_DEBUG_STS_LOCAL__IB_BUSY_MASK 0x00004000L
#define SQ_DEBUG_STS_LOCAL__IB_BUSY__SHIFT 0x0000000E
#define SQ_DEBUG_STS_LOCAL__ARB_BUSY_MASK 0x00008000L
#define SQ_DEBUG_STS_LOCAL__ARB_BUSY__SHIFT 0x0000000F
#define SQ_DEBUG_STS_LOCAL__EXP_BUSY_MASK 0x00010000L
#define SQ_DEBUG_STS_LOCAL__EXP_BUSY__SHIFT 0x00000010
#define SQ_DEBUG_STS_LOCAL__BRMSG_BUSY_MASK 0x00020000L
#define SQ_DEBUG_STS_LOCAL__BRMSG_BUSY__SHIFT 0x00000011
#define SQ_DEBUG_STS_LOCAL__VM_BUSY_MASK 0x00040000L
#define SQ_DEBUG_STS_LOCAL__VM_BUSY__SHIFT 0x00000018
//SQ_WAVE_ACTIVE //SQ_WAVE_ACTIVE
#define SQ_WAVE_ACTIVE__WAVE_SLOT__SHIFT 0x0 #define SQ_WAVE_ACTIVE__WAVE_SLOT__SHIFT 0x0
#define SQ_WAVE_ACTIVE__WAVE_SLOT_MASK 0x000FFFFFL #define SQ_WAVE_ACTIVE__WAVE_SLOT_MASK 0x000FFFFFL
...@@ -7088,6 +7088,7 @@ ...@@ -7088,6 +7088,7 @@
// addressBlock: sqind // addressBlock: sqind
// base address: 0x0 // base address: 0x0
#define ixSQ_DEBUG_STS_LOCAL 0x0008
#define ixSQ_WAVE_MODE 0x0011 #define ixSQ_WAVE_MODE 0x0011
#define ixSQ_WAVE_STATUS 0x0012 #define ixSQ_WAVE_STATUS 0x0012
#define ixSQ_WAVE_TRAPSTS 0x0013 #define ixSQ_WAVE_TRAPSTS 0x0013
......
...@@ -28350,6 +28350,11 @@ ...@@ -28350,6 +28350,11 @@
// addressBlock: sqind // addressBlock: sqind
//SQ_DEBUG_STS_LOCAL
#define SQ_DEBUG_STS_LOCAL__BUSY_MASK 0x00000001L
#define SQ_DEBUG_STS_LOCAL__BUSY__SHIFT 0x00000000
#define SQ_DEBUG_STS_LOCAL__WAVE_LEVEL_MASK 0x000003f0L
#define SQ_DEBUG_STS_LOCAL__WAVE_LEVEL__SHIFT 0x00000004
//SQ_WAVE_MODE //SQ_WAVE_MODE
#define SQ_WAVE_MODE__FP_ROUND__SHIFT 0x0 #define SQ_WAVE_MODE__FP_ROUND__SHIFT 0x0
#define SQ_WAVE_MODE__FP_DENORM__SHIFT 0x4 #define SQ_WAVE_MODE__FP_DENORM__SHIFT 0x4
...@@ -7296,6 +7296,7 @@ ...@@ -7296,6 +7296,7 @@
// addressBlock: sqind // addressBlock: sqind
// base address: 0x0 // base address: 0x0
#define ixSQ_DEBUG_STS_LOCAL 0x0008
#define ixSQ_WAVE_MODE 0x0011 #define ixSQ_WAVE_MODE 0x0011
#define ixSQ_WAVE_STATUS 0x0012 #define ixSQ_WAVE_STATUS 0x0012
#define ixSQ_WAVE_TRAPSTS 0x0013 #define ixSQ_WAVE_TRAPSTS 0x0013
......
...@@ -29571,6 +29571,11 @@ ...@@ -29571,6 +29571,11 @@
// addressBlock: sqind // addressBlock: sqind
//SQ_DEBUG_STS_LOCAL
#define SQ_DEBUG_STS_LOCAL__BUSY_MASK 0x00000001L
#define SQ_DEBUG_STS_LOCAL__BUSY__SHIFT 0x00000000
#define SQ_DEBUG_STS_LOCAL__WAVE_LEVEL_MASK 0x000003f0L
#define SQ_DEBUG_STS_LOCAL__WAVE_LEVEL__SHIFT 0x00000004
//SQ_WAVE_MODE //SQ_WAVE_MODE
#define SQ_WAVE_MODE__FP_ROUND__SHIFT 0x0 #define SQ_WAVE_MODE__FP_ROUND__SHIFT 0x0
#define SQ_WAVE_MODE__FP_DENORM__SHIFT 0x4 #define SQ_WAVE_MODE__FP_DENORM__SHIFT 0x4
...@@ -7335,6 +7335,7 @@ ...@@ -7335,6 +7335,7 @@
// addressBlock: sqind // addressBlock: sqind
// base address: 0x0 // base address: 0x0
#define ixSQ_DEBUG_STS_LOCAL 0x0008
#define ixSQ_WAVE_MODE 0x0011 #define ixSQ_WAVE_MODE 0x0011
#define ixSQ_WAVE_STATUS 0x0012 #define ixSQ_WAVE_STATUS 0x0012
#define ixSQ_WAVE_TRAPSTS 0x0013 #define ixSQ_WAVE_TRAPSTS 0x0013
......
...@@ -29893,6 +29893,11 @@ ...@@ -29893,6 +29893,11 @@
// addressBlock: sqind // addressBlock: sqind
//SQ_DEBUG_STS_LOCAL
#define SQ_DEBUG_STS_LOCAL__BUSY_MASK 0x00000001L
#define SQ_DEBUG_STS_LOCAL__BUSY__SHIFT 0x00000000
#define SQ_DEBUG_STS_LOCAL__WAVE_LEVEL_MASK 0x000003f0L
#define SQ_DEBUG_STS_LOCAL__WAVE_LEVEL__SHIFT 0x00000004
//SQ_WAVE_MODE //SQ_WAVE_MODE
#define SQ_WAVE_MODE__FP_ROUND__SHIFT 0x0 #define SQ_WAVE_MODE__FP_ROUND__SHIFT 0x0
#define SQ_WAVE_MODE__FP_DENORM__SHIFT 0x4 #define SQ_WAVE_MODE__FP_DENORM__SHIFT 0x4
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment