[PATCH] etnaviv: blt: mark used src resource as read from
Christian Gmeiner
christian.gmeiner at gmail.com
Fri Feb 22 10:10:29 UTC 2019
Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
---
src/gallium/drivers/etnaviv/etnaviv_blt.c | 2 ++
1 file changed, 2 insertions(+)
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;
--
2.20.1
More information about the etnaviv
mailing list