radeon: add repeated register packet one

This commit is contained in:
Dave Airlie 2009-01-29 23:01:21 +10:00
parent f69e2f42d5
commit ab6edc9dce

View file

@ -16,6 +16,7 @@ void rcommonBeginBatch(radeonContextPtr rmesa,
#define CP_PACKET2 (2 << 30)
#define CP_PACKET0(reg, n) (RADEON_CP_PACKET0 | ((n)<<16) | ((reg)>>2))
#define CP_PACKET0_ONE(reg, n) (RADEON_CP_PACKET0 | RADEON_CP_PACKET0_ONE_REG_WR | ((n)<<16) | ((reg)>>2))
#define CP_PACKET3( pkt, n ) \
(RADEON_CP_PACKET3 | (pkt) | ((n) << 16))