[PATCH] etnaviv: blt: mark used src resource as read from

Lucas Stach l.stach at pengutronix.de
Fri Feb 22 11:00:01 UTC 2019


Am Freitag, den 22.02.2019, 11:10 +0100 schrieb Christian Gmeiner:
> Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>

Reviewed-by: Lucas Stach <l.stach at pengutronix.de>

> ---
>  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