diff options
author | Alex Deucher <[email protected]> | 2012-10-23 11:30:31 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2012-10-26 09:32:33 -0400 |
commit | 480e1463057c70ca1b197cbba5a9b1c153d8b052 (patch) | |
tree | 3b84c4f5e0dd084a0abea6c8d07c312b496d996e /src/gallium/drivers/r600/evergreend.h | |
parent | 4a9341498582891761e91599729adf6f2e2728a8 (diff) |
r600g/compute: always CONTEXT_CONTROL packet at start of CS
It's required. The CP uses this to properly allocate new
contexts. Also do a CS partial flush since we are updating
CONFIG regs which are single state.
Signed-off-by: Alex Deucher <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/evergreend.h')
-rw-r--r-- | src/gallium/drivers/r600/evergreend.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/evergreend.h b/src/gallium/drivers/r600/evergreend.h index d10ec7f2af5..98df83de918 100644 --- a/src/gallium/drivers/r600/evergreend.h +++ b/src/gallium/drivers/r600/evergreend.h @@ -43,6 +43,7 @@ #define EVERGREEN_CTL_CONST_OFFSET 0x0003CFF0 #define EVERGREEN_CTL_CONST_END 0x0003FF0C +#define EVENT_TYPE_CS_PARTIAL_FLUSH 0x07 #define EVENT_TYPE_PS_PARTIAL_FLUSH 0x10 #define EVENT_TYPE_ZPASS_DONE 0x15 #define EVENT_TYPE_CACHE_FLUSH_AND_INV_EVENT 0x16 |