[Mesa-dev] etnaviv: rs: mark used src resource as read from

Boris Brezillon boris.brezillon at collabora.com
Fri Feb 22 11:32:10 UTC 2019


On Fri, 22 Feb 2019 11:02:34 +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_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 mesa-dev mailing list