drm/etnaviv: add function to construct MMUv2 init buffer
authorLucas Stach <l.stach@pengutronix.de>
Fri, 19 Aug 2016 21:53:59 +0000 (23:53 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Thu, 15 Sep 2016 13:29:41 +0000 (15:29 +0200)
commitde08e8ef71cd7fbc4a89107b295571c4d50f0d66
tree4d0184d93c7a9a949843ea4edafa8c54eff1ebf6
parente68f270f210776eed956884d1fc3ce1aab0912a3
drm/etnaviv: add function to construct MMUv2 init buffer

Both the safe/scratch address and the master TLB address are per pipe
with the CPU mapped registers not properly propagating to the
different translation units.

The only way to correctly configure all translation units is to have
a command stream snipped executed by the FE, before any other execution
can start.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_buffer.c
drivers/gpu/drm/etnaviv/etnaviv_drv.h