etnaviv: rs: mark used src resource as read from

Lucas Stach l.stach at pengutronix.de
Fri Feb 22 10:58:06 UTC 2019


Am Freitag, den 22.02.2019, 11:02 +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_rs.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/gallium/drivers/etnaviv/etnaviv_rs.c b/src/gallium/drivers/etnaviv/etnaviv_rs.c
> index fc4f65dbeee..a9d3872ad41 100644
> --- a/src/gallium/drivers/etnaviv/etnaviv_rs.c
> +++ b/src/gallium/drivers/etnaviv/etnaviv_rs.c
> @@ -728,6 +728,7 @@ etna_try_rs_blit(struct pipe_context *pctx,
>     });
>  
>     etna_submit_rs_state(ctx, &copy_to_screen);
> +   resource_read(ctx, &src->base);
>     resource_written(ctx, &dst->base);
>     dst->seqno++;
>     dst->levels[blit_info->dst.level].ts_valid = false;



More information about the etnaviv mailing list