aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorChristian Gmeiner <[email protected]>2019-02-22 11:10:29 +0100
committerChristian Gmeiner <[email protected]>2019-02-23 16:00:50 +0100
commitc56e73449698c31fe72b99a95b7e4ecdb2985b73 (patch)
tree06d7b30bfbe089858243321b5227b9697930a535 /src/gallium/drivers
parent7244e768040859126a5b74023f587beaa8bef81c (diff)
etnaviv: blt: mark used src resource as read from
Signed-off-by: Christian Gmeiner <[email protected]> Reviewed-by: Lucas Stach <[email protected]> Reviewed-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_blt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_blt.c b/src/gallium/drivers/etnaviv/etnaviv_blt.c
index 52731a9c770..42190d75d4e 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_blt.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_blt.c
@@ -510,7 +510,9 @@ etna_try_blt_blit(struct pipe_context *pctx,
etna_stall(ctx->stream, SYNC_RECIPIENT_FE, SYNC_RECIPIENT_BLT);
etna_set_state(ctx->stream, VIVS_GL_FLUSH_CACHE, 0x00000c23);
+ resource_read(ctx, &src->base);
resource_written(ctx, &dst->base);
+
dst->seqno++;
dst_lev->ts_valid = false;