mirror-linux/drivers/gpu/drm/panthor
Boris Brezillon f9e7ac6e2e drm/panthor: Don't add write fences to the shared BOs
The only user (the mesa gallium driver) is already assuming explicit
synchronization and doing the export/import dance on shared BOs. The
only reason we were registering ourselves as writers on external BOs
is because Xe, which was the reference back when we developed Panthor,
was doing so. Turns out Xe was wrong, and we really want bookkeep on
all registered fences, so userspace can explicitly upgrade those to
read/write when needed.

Fixes: 4bdca11507 ("drm/panthor: Add the driver frontend block")
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Simona Vetter <simona.vetter@ffwll.ch>
Cc: <stable@vger.kernel.org>
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/20240905070155.3254011-1-boris.brezillon@collabora.com
2024-10-01 18:41:02 +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: Add FOP_UNSIGNED_OFFSET to fop_flags 2024-10-01 18:37:13 +02:00
panthor_fw.c drm/panthor: flush FW AS caches in slow reset path 2024-09-05 09:45:33 +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: Lock the VM resv before calling drm_gpuvm_bo_obtain_prealloc() 2024-10-01 18:37:13 +02:00
panthor_mmu.h drm/panthor: flush FW AS caches in slow reset path 2024-09-05 09:45:33 +02:00
panthor_regs.h
panthor_sched.c drm/panthor: Don't add write fences to the shared BOs 2024-10-01 18:41:02 +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