drm/panfrost: Reset the GPU when the AS_ACTIVE bit is stuck
authorBoris Brezillon <boris.brezillon@collabora.com>
Wed, 30 Jun 2021 06:27:47 +0000 (08:27 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Thu, 1 Jul 2021 06:53:34 +0000 (08:53 +0200)
commitf9ab9c66f08082a143ac529f1e479b987c2a1fa1
tree2d3207c96194e9e81fc7adc3d176d4b811f5887a
parented7a34c57defc59227219df60ecde37dc2ad64cb
drm/panfrost: Reset the GPU when the AS_ACTIVE bit is stuck

Things are unlikely to resolve until we reset the GPU. Let's not wait
for other faults/timeout to happen to trigger this reset.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210630062751.2832545-13-boris.brezillon@collabora.com
drivers/gpu/drm/panfrost/panfrost_mmu.c