1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/panthor
Boris Brezillon 7b6f9ec6ad drm/panthor: Fix sync-only jobs
A sync-only job is meant to provide a synchronization point on a
queue, so we can't return a NULL fence there, we have to add a signal
operation to the command stream which executes after all other
previously submitted jobs are done.

v2:
- Fixed a UAF bug
- Added R-bs

Fixes: de85488138 ("drm/panthor: Add the scheduler logical block")
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/20240703071640.231278-3-boris.brezillon@collabora.com
2024-07-03 09:45:36 +02:00
..
Kconfig Revert "drm/panthor: Fix undefined panthor_device_suspend/resume symbol issue" 2024-03-11 14:16:10 +02:00
Makefile drm/panthor: Allow driver compilation 2024-03-01 10:04:29 +01:00
panthor_devfreq.c drm/panthor: Fix panthor_devfreq kerneldoc 2024-03-11 10:50:37 +01:00
panthor_devfreq.h drm/panthor: Add the devfreq logical block 2024-03-01 10:04:07 +01:00
panthor_device.c drm/panthor: Call panthor_sched_post_reset() even if the reset failed 2024-05-13 09:52:22 +02:00
panthor_device.h drm/panthor: Force an immediate reset on unrecoverable faults 2024-05-13 09:52:09 +02:00
panthor_drv.c drm/panthor: Don't check the array stride on empty uobj arrays 2024-07-03 09:45:35 +02:00
panthor_fw.c drm/panthor: Reset the FW VM to NULL on unplug 2024-05-13 09:52:19 +02:00
panthor_fw.h drm/panthor: Add the FW logical block 2024-03-01 10:04:12 +01:00
panthor_gem.c drm/panthor: Keep a ref to the VM at the panthor_kernel_bo level 2024-05-13 09:52:13 +02:00
panthor_gem.h drm/panthor: Keep a ref to the VM at the panthor_kernel_bo level 2024-05-13 09:52:13 +02:00
panthor_gpu.c drm/panthor: Fix error code in panthor_gpu_init() 2024-04-03 09:06:27 +02:00
panthor_gpu.h drm/panthor: Add the GPU logical block 2024-03-01 10:04:04 +01:00
panthor_heap.c drm/panthor: Keep a ref to the VM at the panthor_kernel_bo level 2024-05-13 09:52:13 +02:00
panthor_heap.h drm/panthor: Add the heap logical block 2024-03-01 10:04:15 +01:00
panthor_mmu.c drm/panthor: Don't return NULL from panthor_vm_get_heap_pool() 2024-04-03 09:11:38 +02:00
panthor_mmu.h drm/panthor: Add the MMU/VM logical block 2024-03-01 10:04:09 +01:00
panthor_regs.h drm/panthor: Add GPU register definitions 2024-03-01 10:04:01 +01:00
panthor_sched.c drm/panthor: Fix sync-only jobs 2024-07-03 09:45:36 +02:00
panthor_sched.h drm/panthor: Call panthor_sched_post_reset() even if the reset failed 2024-05-13 09:52:22 +02:00