aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a6xx/fd6_emit.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-07-30 09:34:53 -0700
committerRob Clark <[email protected]>2019-08-02 10:24:14 -0700
commite1790c532a431ad3f8abe36175613f4b5f48fa3f (patch)
tree1b881d9cf207b28f99662775fb360be590dc83ba /src/gallium/drivers/freedreno/a6xx/fd6_emit.h
parentd8379da19ee1c2086cd39a648136a7128f402f58 (diff)
freedreno/a6xx: add missing flush/invalidates for blit
Various things we were missing for multiple blits in a single batch. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a6xx/fd6_emit.h')
-rw-r--r--src/gallium/drivers/freedreno/a6xx/fd6_emit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_emit.h b/src/gallium/drivers/freedreno/a6xx/fd6_emit.h
index 46a9ca82149..8c411328402 100644
--- a/src/gallium/drivers/freedreno/a6xx/fd6_emit.h
+++ b/src/gallium/drivers/freedreno/a6xx/fd6_emit.h
@@ -146,7 +146,7 @@ fd6_event_write(struct fd_batch *batch, struct fd_ringbuffer *ring,
static inline void
fd6_cache_inv(struct fd_batch *batch, struct fd_ringbuffer *ring)
{
- fd6_event_write(batch, ring, 0x31, false);
+ fd6_event_write(batch, ring, CACHE_INVALIDATE, false);
}
static inline void