diff options
author | Pierre Ossman <pierre@ossman.eu> | 2009-02-07 18:57:47 +0100 |
---|---|---|
committer | Pierre Ossman <pierre@ossman.eu> | 2009-02-07 19:04:12 +0100 |
commit | 8e9ef8ff581892cbe1b7ea56d48b9a1abd70179d (patch) | |
tree | 4075b85979badaba4bb815c51bf6be8d28ca779f /src/r600_reg.h | |
parent | 2222f0fd700f100b2e91fac2babe7d1b53f56c3e (diff) |
Xv vsync support on r6xx/r7xx cards.
Diffstat (limited to 'src/r600_reg.h')
-rw-r--r-- | src/r600_reg.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/r600_reg.h b/src/r600_reg.h index dfe47039..9036e2a5 100644 --- a/src/r600_reg.h +++ b/src/r600_reg.h @@ -115,4 +115,18 @@ enum { IT_SURFACE_BASE_UPDATE = 0x73, } ; +/* IT_WAIT_REG_MEM operation encoding */ + +#define IT_WAIT_ALWAYS (0<<0) +#define IT_WAIT_LT (1<<0) +#define IT_WAIT_LE (2<<0) +#define IT_WAIT_EQ (3<<0) +#define IT_WAIT_NE (4<<0) +#define IT_WAIT_GE (5<<0) +#define IT_WAIT_GT (6<<0) +#define IT_WAIT_REG (0<<4) +#define IT_WAIT_MEM (1<<4) + +#define IT_WAIT_ADDR(x) ((x) >> 2) + #endif |