linux/drivers/gpu/drm/msm
Rob Clark a39bf13f86 drm/msm: Disallow submit with fence id 0
[ Upstream commit 1b5d0ddcb3 ]

A fence id of zero is expected to be invalid, and is not removed from
the fence_idr table.  If userspace is requesting to specify the fence
id with the FENCE_SN_IN flag, we need to reject a zero fence id value.

Fixes: 17154addc5 ("drm/msm: Add MSM_SUBMIT_FENCE_SN_IN")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/549180/
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-08-03 10:24:06 +02:00
..
adreno drm/msm: Fix IS_ERR_OR_NULL() vs NULL check in a5xx_submit_in_rb() 2023-08-03 10:24:04 +02:00
disp drm/msm/dpu: drop enum dpu_core_perf_data_bus_id 2023-08-03 10:24:03 +02:00
dp drm/msm/dp: Free resources after unregistering them 2023-07-19 16:21:31 +02:00
dsi drm/msm/dsi: Remove incorrect references to slice_count 2023-07-19 16:21:31 +02:00
hdmi
Kconfig
Makefile
msm_atomic_trace.h
msm_atomic_tracepoints.c
msm_atomic.c
msm_debugfs.c
msm_debugfs.h
msm_drv.c drm/msm: Switch idr_lock to spinlock 2023-08-03 10:24:06 +02:00
msm_drv.h drm/msm: Hangcheck progress detection 2023-05-17 11:53:53 +02:00
msm_fb.c
msm_fbdev.c
msm_fence.c
msm_fence.h
msm_gem_prime.c
msm_gem_shrinker.c
msm_gem_submit.c drm/msm: Disallow submit with fence id 0 2023-08-03 10:24:06 +02:00
msm_gem_vma.c
msm_gem.c
msm_gem.h
msm_gpu_devfreq.c
msm_gpu_trace.h
msm_gpu_tracepoints.c
msm_gpu.c drm/msm: Hangcheck progress detection 2023-05-17 11:53:53 +02:00
msm_gpu.h drm/msm: Switch idr_lock to spinlock 2023-08-03 10:24:06 +02:00
msm_gpummu.c
msm_io_utils.c
msm_iommu.c drm/msm: Be more shouty if per-process pgtables aren't working 2023-06-09 10:34:16 +02:00
msm_kms.h
msm_mdss.c
msm_mmu.h
msm_perf.c
msm_rd.c
msm_ringbuffer.c
msm_ringbuffer.h drm/msm: Hangcheck progress detection 2023-05-17 11:53:53 +02:00
msm_submitqueue.c drm/msm: Switch idr_lock to spinlock 2023-08-03 10:24:06 +02:00
NOTES