etnaviv: GC7000: flush TX descriptor and instruction cache
authorLucas Stach <l.stach@pengutronix.de>
Thu, 22 Feb 2018 10:54:21 +0000 (11:54 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Fri, 18 Oct 2019 17:06:39 +0000 (19:06 +0200)
commit95adc393eb4235c29696a4ad6244ad8d710db524
tree97928156a78fc7b183ae6730b0702019104a74e5
parent54dd288317ddd2c5ef719043c1fd0942eb33d7dc
etnaviv: GC7000: flush TX descriptor and instruction cache

The etnaviv kernel driver will only ever flush write caches. As both
the TX descriptor and instruction cache are read caches they must be
flushed from the user cmdstream at an appropriate time.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Jonathan Marek <jonathan@marek.ca>
src/gallium/drivers/etnaviv/etnaviv_context.c