]> 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)
commit3d0c9ffa3942c96008e6c6c514461d8e0c73fa58
tree29535db17b1ec559f2237a68f31dbcf2ed3f0c00
parentf9870e9b55691453c6341f54db0ae6004c2656e1
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