[PATCH] etnaviv: blt: mark used src resource as read from
Boris Brezillon
boris.brezillon at collabora.com
Fri Feb 22 11:33:14 UTC 2019
On Fri, 22 Feb 2019 11:10:29 +0100
Christian Gmeiner <christian.gmeiner at gmail.com> wrote:
> Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Reviewed-by: Boris Brezillon <boris.brezillon at collabora.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;
>
More information about the etnaviv
mailing list