]> Gentwo Git Trees - linux/.git/commitdiff
drm/panthor: always set fence errors on CS_FAULT
authorChia-I Wu <olvaffe@gmail.com>
Thu, 28 Aug 2025 20:04:19 +0000 (13:04 -0700)
committerSteven Price <steven.price@arm.com>
Thu, 18 Sep 2025 15:33:58 +0000 (16:33 +0100)
It is unclear why fence errors were set only for CS_INHERIT_FAULT.
Downstream driver also does not treat CS_INHERIT_FAULT specially.
Remove the check.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20250828200419.3533393-1-olvaffe@gmail.com
drivers/gpu/drm/panthor/panthor_sched.c

index b328631c00489163ef832c84efd6cbfdb02e27d5..0cc9055f4ee5241af2ab6b2beda65b97c7baab9f 100644 (file)
@@ -1417,7 +1417,7 @@ cs_slot_process_fault_event_locked(struct panthor_device *ptdev,
        fault = cs_iface->output->fault;
        info = cs_iface->output->fault_info;
 
-       if (queue && CS_EXCEPTION_TYPE(fault) == DRM_PANTHOR_EXCEPTION_CS_INHERIT_FAULT) {
+       if (queue) {
                u64 cs_extract = queue->iface.output->extract;
                struct panthor_job *job;