diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-19 21:15:35 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-20 00:02:05 +0000 |
commit | fc9531fc2df12b896e6d9e8b3f0d7248e55bfcdd (patch) | |
tree | 28dd2b52ad55e75bed203467123a77e111b16b4e /src/sna/gen7_render.h | |
parent | 2e0a534a888c59b921fd4cad69b980c6eda72212 (diff) |
sna: Move the flush to the backends
This allows us to implement backend specific workarounds and use the
more appropriate device specific flushing.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen7_render.h')
-rw-r--r-- | src/sna/gen7_render.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/gen7_render.h b/src/sna/gen7_render.h index 06ab0eeb..e2ca1f2f 100644 --- a/src/sna/gen7_render.h +++ b/src/sna/gen7_render.h @@ -123,6 +123,7 @@ /* for GEN7_PIPE_CONTROL */ #define GEN7_PIPE_CONTROL GEN7_3D(3, 2, 0) +#define GEN7_PIPE_CONTROL_CS_STALL (1 << 20) #define GEN7_PIPE_CONTROL_NOWRITE (0 << 14) #define GEN7_PIPE_CONTROL_WRITE_QWORD (1 << 14) #define GEN7_PIPE_CONTROL_WRITE_DEPTH (2 << 14) @@ -134,6 +135,7 @@ #define GEN7_PIPE_CONTROL_NOTIFY_ENABLE (1 << 8) #define GEN7_PIPE_CONTROL_GLOBAL_GTT (1 << 2) #define GEN7_PIPE_CONTROL_LOCAL_PGTT (0 << 2) +#define GEN7_PIPE_CONTROL_STALL_AT_SCOREBOARD (1 << 1) #define GEN7_PIPE_CONTROL_DEPTH_CACHE_FLUSH (1 << 0) /* VERTEX_BUFFER_STATE Structure */ |