]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/panthor: Report innocent group kill
authorBoris Brezillon <boris.brezillon@collabora.com>
Wed, 11 Dec 2024 08:05:00 +0000 (09:05 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 17 Dec 2024 09:56:12 +0000 (10:56 +0100)
commit4181576d85c64224ae4b21f7754448d7bbfd5c4b
treef95d5c47e044613da7617a75c58460e493bf8c79
parentb1dcfe620574b689ddd7a3297fad86b947f12a20
drm/panthor: Report innocent group kill

Groups can be killed during a reset even though they did nothing wrong.
That usually happens when the FW is put in a bad state by other groups,
resulting in group suspension failures when the reset happens.

If we end up in that situation, flag the group innocent and report
innocence through a new DRM_PANTHOR_GROUP_STATE flag.

Bump the minor driver version to reflect the uAPI change.

Changes in v4:
- Add an entry to the driver version changelog
- Add R-bs

Changes in v3:
- Actually report innocence to userspace

Changes in v2:
- New patch

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