gen6: Invalidate texture cache
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
ad22003033
commit
25521900df
|
|
@ -169,6 +169,7 @@
|
|||
#define BRW_PIPE_CONTROL_DEPTH_STALL (1 << 13)
|
||||
#define BRW_PIPE_CONTROL_WC_FLUSH (1 << 12)
|
||||
#define BRW_PIPE_CONTROL_IS_FLUSH (1 << 11)
|
||||
#define BRW_PIPE_CONTROL_TC_FLUSH (1 << 10)
|
||||
#define BRW_PIPE_CONTROL_NOTIFY_ENABLE (1 << 8)
|
||||
#define BRW_PIPE_CONTROL_GLOBAL_GTT (1 << 2)
|
||||
#define BRW_PIPE_CONTROL_LOCAL_PGTT (0 << 2)
|
||||
|
|
|
|||
|
|
@ -157,6 +157,7 @@ void intel_batch_emit_flush(ScrnInfoPtr scrn)
|
|||
BEGIN_BATCH(4);
|
||||
OUT_BATCH(BRW_PIPE_CONTROL | (4 - 2));
|
||||
OUT_BATCH(BRW_PIPE_CONTROL_WC_FLUSH |
|
||||
BRW_PIPE_CONTROL_TC_FLUSH |
|
||||
BRW_PIPE_CONTROL_NOWRITE);
|
||||
OUT_BATCH(0); /* write address */
|
||||
OUT_BATCH(0); /* write data */
|
||||
|
|
|
|||
Loading…
Reference in New Issue