diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/sid.h')
-rw-r--r-- | drivers/gpu/drm/radeon/sid.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/sid.h b/drivers/gpu/drm/radeon/sid.h index 62b46215d423..c056aae814f0 100644 --- a/drivers/gpu/drm/radeon/sid.h +++ b/drivers/gpu/drm/radeon/sid.h | |||
@@ -62,6 +62,22 @@ | |||
62 | 62 | ||
63 | #define SRBM_STATUS 0xE50 | 63 | #define SRBM_STATUS 0xE50 |
64 | 64 | ||
65 | #define SRBM_SOFT_RESET 0x0E60 | ||
66 | #define SOFT_RESET_BIF (1 << 1) | ||
67 | #define SOFT_RESET_DC (1 << 5) | ||
68 | #define SOFT_RESET_DMA1 (1 << 6) | ||
69 | #define SOFT_RESET_GRBM (1 << 8) | ||
70 | #define SOFT_RESET_HDP (1 << 9) | ||
71 | #define SOFT_RESET_IH (1 << 10) | ||
72 | #define SOFT_RESET_MC (1 << 11) | ||
73 | #define SOFT_RESET_ROM (1 << 14) | ||
74 | #define SOFT_RESET_SEM (1 << 15) | ||
75 | #define SOFT_RESET_VMC (1 << 17) | ||
76 | #define SOFT_RESET_DMA (1 << 20) | ||
77 | #define SOFT_RESET_TST (1 << 21) | ||
78 | #define SOFT_RESET_REGBB (1 << 22) | ||
79 | #define SOFT_RESET_ORB (1 << 23) | ||
80 | |||
65 | #define CC_SYS_RB_BACKEND_DISABLE 0xe80 | 81 | #define CC_SYS_RB_BACKEND_DISABLE 0xe80 |
66 | #define GC_USER_SYS_RB_BACKEND_DISABLE 0xe84 | 82 | #define GC_USER_SYS_RB_BACKEND_DISABLE 0xe84 |
67 | 83 | ||
@@ -1013,6 +1029,8 @@ | |||
1013 | # define DATA_SWAP_ENABLE (1 << 3) | 1029 | # define DATA_SWAP_ENABLE (1 << 3) |
1014 | # define FENCE_SWAP_ENABLE (1 << 4) | 1030 | # define FENCE_SWAP_ENABLE (1 << 4) |
1015 | # define CTXEMPTY_INT_ENABLE (1 << 28) | 1031 | # define CTXEMPTY_INT_ENABLE (1 << 28) |
1032 | #define DMA_STATUS_REG 0xd034 | ||
1033 | # define DMA_IDLE (1 << 0) | ||
1016 | #define DMA_TILING_CONFIG 0xd0b8 | 1034 | #define DMA_TILING_CONFIG 0xd0b8 |
1017 | 1035 | ||
1018 | #define DMA_PACKET(cmd, b, t, s, n) ((((cmd) & 0xF) << 28) | \ | 1036 | #define DMA_PACKET(cmd, b, t, s, n) ((((cmd) & 0xF) << 28) | \ |