etnaviv: slim down resource waiting
authorLucas Stach <l.stach@pengutronix.de>
Thu, 18 May 2017 13:37:02 +0000 (15:37 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Thu, 8 Jun 2017 16:29:36 +0000 (18:29 +0200)
commita276c32a08bd41ceb8fd9b604ba9ac8229d59b64
tree4f1e760ec0ea7dea28b904305ba0670dd80dadd5
parentada3c3aa3da5d04bd597014dc1b5d4b028313513
etnaviv: slim down resource waiting

cpu_prep() already does all the required waiting, so the only thing that
needs to be done is flushing the commandstream, if a GPU write is pending.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Wladimir J. van der Laan <laanwj@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_clear_blit.c
src/gallium/drivers/etnaviv/etnaviv_resource.c
src/gallium/drivers/etnaviv/etnaviv_resource.h
src/gallium/drivers/etnaviv/etnaviv_transfer.c