drm/panthor: Kill the faulty_slots variable in panthor_sched_suspend()
authorBoris Brezillon <boris.brezillon@collabora.com>
Thu, 25 Apr 2024 10:39:20 +0000 (12:39 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Thu, 2 May 2024 15:54:05 +0000 (17:54 +0200)
commitbe2d3e9d061552af6c50220ee7b7e76458a3080f
tree0a505aecbc1060626bb13eade83a7e9d3ce6e130
parent4a56c0ed5aa0bcbe1f5f7d755fb1fe1ebf48ae9c
drm/panthor: Kill the faulty_slots variable in panthor_sched_suspend()

We can use upd_ctx.timedout_mask directly, and the faulty_slots update
in the flush_caches_failed situation is never used.

Suggested-by: Suggested-by: Steven Price <steven.price@arm.com>
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/20240425103920.826458-1-boris.brezillon@collabora.com
drivers/gpu/drm/panthor/panthor_sched.c