drm/etnaviv: add function to load the initial PTA state
authorLucas Stach <l.stach@pengutronix.de>
Mon, 22 Jan 2018 11:28:10 +0000 (12:28 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Fri, 9 Mar 2018 11:22:38 +0000 (12:22 +0100)
commit1137bef67a11d2e5a4f44ce87b6e4dd1fb7a0163
tree36e420b39c46a20ee01ef735569b65f0ec57b016
parentc997c3df0e89f710f2d7ad9197e5e3c5e3ecc4e4
drm/etnaviv: add function to load the initial PTA state

On GPUs with the security feature the MTLB config is stored in the PTA.
Add a function to trigger the initial PTA load through the FE.

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