radeon_hd: Begin work on radeon_hd command processor

* First steps at getting card command processor wired
  up to the ring buffers.
* Code doesn't run yet as I have *no* idea what happens
  when these rings are in an invalid state.
This commit is contained in:
Alexander von Gluck IV
2012-04-17 16:10:40 -05:00
parent 582c97352d
commit 9e195872df
4 changed files with 132 additions and 3 deletions
@@ -75,6 +75,8 @@
#define CP_QUEUE_THRESHOLDS 0x8760
#define ROQ_IB1_START(x) ((x) << 0)
#define ROQ_IB2_START(x) ((x) << 8)
#define CP_DEBUG 0xC1FC
#define CP_RB_BASE 0xC100
#define CP_RB_CNTL 0xC104
#define RB_BUFSZ(x) ((x) << 0)
#define RB_BLKSZ(x) ((x) << 8)