diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/r300d.h')
-rw-r--r-- | drivers/gpu/drm/radeon/r300d.h | 47 |
1 files changed, 46 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r300d.h b/drivers/gpu/drm/radeon/r300d.h index 4c73114f0de9..968a33317fbf 100644 --- a/drivers/gpu/drm/radeon/r300d.h +++ b/drivers/gpu/drm/radeon/r300d.h | |||
@@ -209,7 +209,52 @@ | |||
209 | #define S_000E40_GUI_ACTIVE(x) (((x) & 0x1) << 31) | 209 | #define S_000E40_GUI_ACTIVE(x) (((x) & 0x1) << 31) |
210 | #define G_000E40_GUI_ACTIVE(x) (((x) >> 31) & 0x1) | 210 | #define G_000E40_GUI_ACTIVE(x) (((x) >> 31) & 0x1) |
211 | #define C_000E40_GUI_ACTIVE 0x7FFFFFFF | 211 | #define C_000E40_GUI_ACTIVE 0x7FFFFFFF |
212 | 212 | #define R_0000F0_RBBM_SOFT_RESET 0x0000F0 | |
213 | #define S_0000F0_SOFT_RESET_CP(x) (((x) & 0x1) << 0) | ||
214 | #define G_0000F0_SOFT_RESET_CP(x) (((x) >> 0) & 0x1) | ||
215 | #define C_0000F0_SOFT_RESET_CP 0xFFFFFFFE | ||
216 | #define S_0000F0_SOFT_RESET_HI(x) (((x) & 0x1) << 1) | ||
217 | #define G_0000F0_SOFT_RESET_HI(x) (((x) >> 1) & 0x1) | ||
218 | #define C_0000F0_SOFT_RESET_HI 0xFFFFFFFD | ||
219 | #define S_0000F0_SOFT_RESET_VAP(x) (((x) & 0x1) << 2) | ||
220 | #define G_0000F0_SOFT_RESET_VAP(x) (((x) >> 2) & 0x1) | ||
221 | #define C_0000F0_SOFT_RESET_VAP 0xFFFFFFFB | ||
222 | #define S_0000F0_SOFT_RESET_RE(x) (((x) & 0x1) << 3) | ||
223 | #define G_0000F0_SOFT_RESET_RE(x) (((x) >> 3) & 0x1) | ||
224 | #define C_0000F0_SOFT_RESET_RE 0xFFFFFFF7 | ||
225 | #define S_0000F0_SOFT_RESET_PP(x) (((x) & 0x1) << 4) | ||
226 | #define G_0000F0_SOFT_RESET_PP(x) (((x) >> 4) & 0x1) | ||
227 | #define C_0000F0_SOFT_RESET_PP 0xFFFFFFEF | ||
228 | #define S_0000F0_SOFT_RESET_E2(x) (((x) & 0x1) << 5) | ||
229 | #define G_0000F0_SOFT_RESET_E2(x) (((x) >> 5) & 0x1) | ||
230 | #define C_0000F0_SOFT_RESET_E2 0xFFFFFFDF | ||
231 | #define S_0000F0_SOFT_RESET_RB(x) (((x) & 0x1) << 6) | ||
232 | #define G_0000F0_SOFT_RESET_RB(x) (((x) >> 6) & 0x1) | ||
233 | #define C_0000F0_SOFT_RESET_RB 0xFFFFFFBF | ||
234 | #define S_0000F0_SOFT_RESET_HDP(x) (((x) & 0x1) << 7) | ||
235 | #define G_0000F0_SOFT_RESET_HDP(x) (((x) >> 7) & 0x1) | ||
236 | #define C_0000F0_SOFT_RESET_HDP 0xFFFFFF7F | ||
237 | #define S_0000F0_SOFT_RESET_MC(x) (((x) & 0x1) << 8) | ||
238 | #define G_0000F0_SOFT_RESET_MC(x) (((x) >> 8) & 0x1) | ||
239 | #define C_0000F0_SOFT_RESET_MC 0xFFFFFEFF | ||
240 | #define S_0000F0_SOFT_RESET_AIC(x) (((x) & 0x1) << 9) | ||
241 | #define G_0000F0_SOFT_RESET_AIC(x) (((x) >> 9) & 0x1) | ||
242 | #define C_0000F0_SOFT_RESET_AIC 0xFFFFFDFF | ||
243 | #define S_0000F0_SOFT_RESET_VIP(x) (((x) & 0x1) << 10) | ||
244 | #define G_0000F0_SOFT_RESET_VIP(x) (((x) >> 10) & 0x1) | ||
245 | #define C_0000F0_SOFT_RESET_VIP 0xFFFFFBFF | ||
246 | #define S_0000F0_SOFT_RESET_DISP(x) (((x) & 0x1) << 11) | ||
247 | #define G_0000F0_SOFT_RESET_DISP(x) (((x) >> 11) & 0x1) | ||
248 | #define C_0000F0_SOFT_RESET_DISP 0xFFFFF7FF | ||
249 | #define S_0000F0_SOFT_RESET_CG(x) (((x) & 0x1) << 12) | ||
250 | #define G_0000F0_SOFT_RESET_CG(x) (((x) >> 12) & 0x1) | ||
251 | #define C_0000F0_SOFT_RESET_CG 0xFFFFEFFF | ||
252 | #define S_0000F0_SOFT_RESET_GA(x) (((x) & 0x1) << 13) | ||
253 | #define G_0000F0_SOFT_RESET_GA(x) (((x) >> 13) & 0x1) | ||
254 | #define C_0000F0_SOFT_RESET_GA 0xFFFFDFFF | ||
255 | #define S_0000F0_SOFT_RESET_IDCT(x) (((x) & 0x1) << 14) | ||
256 | #define G_0000F0_SOFT_RESET_IDCT(x) (((x) >> 14) & 0x1) | ||
257 | #define C_0000F0_SOFT_RESET_IDCT 0xFFFFBFFF | ||
213 | 258 | ||
214 | #define R_00000D_SCLK_CNTL 0x00000D | 259 | #define R_00000D_SCLK_CNTL 0x00000D |
215 | #define S_00000D_SCLK_SRC_SEL(x) (((x) & 0x7) << 0) | 260 | #define S_00000D_SCLK_SRC_SEL(x) (((x) & 0x7) << 0) |