diff options
author | Eric Anholt <[email protected]> | 2010-07-21 18:41:06 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-07-21 20:17:24 -0700 |
commit | 9e9e87a9b20c581315ff679dc2541d9e442a6301 (patch) | |
tree | a78ea2649fdc4137934316982db7100d81e21159 | |
parent | d0326e0e4ee245ec471fc976fbe98183fbe6da4e (diff) |
i965: Fix the DP read msg_control definitions other than plain OWORD.
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_defines.h | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h index dba500c5621..6b20a2979f8 100644 --- a/src/mesa/drivers/dri/i965/brw_defines.h +++ b/src/mesa/drivers/dri/i965/brw_defines.h @@ -703,14 +703,24 @@ #define BRW_DATAPORT_DWORD_SCATTERED_BLOCK_8DWORDS 2 #define BRW_DATAPORT_DWORD_SCATTERED_BLOCK_16DWORDS 3 +/* This one stays the same across generations. */ #define BRW_DATAPORT_READ_MESSAGE_OWORD_BLOCK_READ 0 +/* GEN4 */ +#define BRW_DATAPORT_READ_MESSAGE_OWORD_DUAL_BLOCK_READ 1 +#define BRW_DATAPORT_READ_MESSAGE_MEDIA_BLOCK_READ 2 +#define BRW_DATAPORT_READ_MESSAGE_DWORD_SCATTERED_READ 3 +/* G45, GEN5 */ +#define G45_DATAPORT_READ_MESSAGE_RENDER_UNORM_READ 1 +#define G45_DATAPORT_READ_MESSAGE_OWORD_DUAL_BLOCK_READ 2 +#define G45_DATAPORT_READ_MESSAGE_AVC_LOOP_FILTER_READ 3 +#define G45_DATAPORT_READ_MESSAGE_MEDIA_BLOCK_READ 4 +#define G45_DATAPORT_READ_MESSAGE_DWORD_SCATTERED_READ 6 /* GEN6 */ -#define BRW_DATAPORT_READ_MESSAGE_RENDER_UNORM_READ 1 -#define BRW_DATAPORT_READ_MESSAGE_OWORD_DUAL_BLOCK_READ 2 -#define BRW_DATAPORT_READ_MESSAGE_DWORD_BLOCK_READ 4 -/* GEN6 */ -#define BRW_DATAPORT_READ_MESSAGE_OWORD_UNALIGN_BLOCK_READ 5 -#define BRW_DATAPORT_READ_MESSAGE_DWORD_SCATTERED_READ 6 +#define GEN6_DATAPORT_READ_MESSAGE_RENDER_UNORM_READ 1 +#define GEN6_DATAPORT_READ_MESSAGE_OWORD_DUAL_BLOCK_READ 2 +#define GEN6_DATAPORT_READ_MESSAGE_MEDIA_BLOCK_READ 4 +#define GEN6_DATAPORT_READ_MESSAGE_OWORD_UNALIGN_BLOCK_READ 5 +#define GEN6_DATAPORT_READ_MESSAGE_DWORD_SCATTERED_READ 6 #define BRW_DATAPORT_READ_TARGET_DATA_CACHE 0 #define BRW_DATAPORT_READ_TARGET_RENDER_CACHE 1 |