drm/panthor: Force an immediate reset on unrecoverable faults
authorBoris Brezillon <boris.brezillon@collabora.com>
Thu, 2 May 2024 18:38:09 +0000 (20:38 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Mon, 13 May 2024 07:52:09 +0000 (09:52 +0200)
commit2b2a26b3314210585ca6d552a421921a3936713b
tree8561fa53b31ecda45f95a39deb77d857a8b4821c
parent591eafcd46e09a2468ecf5cdceea676ac72d84bc
drm/panthor: Force an immediate reset on unrecoverable faults

If the FW reports an unrecoverable fault, we need to reset the GPU
before we can start re-using it again.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240502183813.1612017-2-boris.brezillon@collabora.com
drivers/gpu/drm/panthor/panthor_device.c
drivers/gpu/drm/panthor/panthor_device.h
drivers/gpu/drm/panthor/panthor_sched.c