linux_dsm_epyc7002/drivers/gpu/drm/v3d
Eric Anholt 34c2c4f632 drm/v3d: Fix a use-after-free race accessing the scheduler's fences.
Once we push the job, the scheduler could run it and free it.  So, if
we want to reference their fences, we need to grab them before then.
I haven't seen this happen in many days of conformance test runtime,
but let's still close the race.

Signed-off-by: Eric Anholt <eric@anholt.net>
Fixes: 57692c94dc ("drm/v3d: Introduce a new DRM driver for Broadcom V3D V3.x+")
Link: https://patchwork.freedesktop.org/patch/254119/
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
2018-10-15 13:10:29 -07:00
..
Kconfig drm/v3d: add CONFIG_MMU dependency 2018-05-30 12:15:18 -07:00
Makefile
v3d_bo.c drm/v3d: use new return type vm_fault_t in v3d_gem_fault 2018-07-05 11:42:40 -07:00
v3d_debugfs.c
v3d_drv.c drm/scheduler: modify API to avoid redundancy 2018-07-25 15:06:19 -05:00
v3d_drv.h drm/v3d: Fix a use-after-free race accessing the scheduler's fences. 2018-10-15 13:10:29 -07:00
v3d_fence.c drm/v3d: Remove unnecessary dma_fence_ops. 2018-07-05 11:42:50 -07:00
v3d_gem.c drm/v3d: Fix a use-after-free race accessing the scheduler's fences. 2018-10-15 13:10:29 -07:00
v3d_irq.c drm/v3d: Remove the bad signaled() implementation. 2018-06-21 14:46:05 -07:00
v3d_mmu.c
v3d_regs.h drm/v3d: Delay the scheduler timeout if we're still making progress. 2018-07-05 11:42:49 -07:00
v3d_sched.c drm/v3d: Fix a grammar nit in the scheduler docs. 2018-07-05 11:42:50 -07:00
v3d_trace_points.c
v3d_trace.h