]> git.baikalelectronics.ru Git - kernel.git/commit
drm/etnaviv: exec and MMU state is lost when resetting the GPU
authorLucas Stach <l.stach@pengutronix.de>
Fri, 20 Aug 2021 20:18:27 +0000 (22:18 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Thu, 16 Sep 2021 08:35:24 +0000 (10:35 +0200)
commit725cbc7884c37f3b4f1777bc1aea6432cded8ca5
tree29535db17b1ec559f2237a68f31dbcf2ed3f0c00
parent8f3eea9d01d7b0f95b0fe04187c0059019ada85b
drm/etnaviv: exec and MMU state is lost when resetting the GPU

When the GPU is reset both the current exec state, as well as all MMU
state is lost. Move the driver side state tracking into the reset function
to keep hardware and software state from diverging.

Cc: stable@vger.kernel.org # 5.4
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Michael Walle <michael@walle.cc>
Tested-by: Marek Vasut <marex@denx.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c