linux/drivers/gpu/drm/v3d
Eric Anholt 7122b68b8a drm/v3d: Take a lock across GPU scheduler job creation and queuing.
Between creation and queueing of a job, you need to prevent any other
job from being created and queued.  Otherwise the scheduler's fences
may be signaled out of seqno order.

v2: move mutex unlock to the error label.

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/msgid/20180606174851.12433-1-eric@anholt.net
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
2018-06-21 14:46:04 -07:00
..
Kconfig drm/v3d: add CONFIG_MMU dependency 2018-05-30 12:15:18 -07:00
Makefile
v3d_bo.c
v3d_debugfs.c
v3d_drv.c
v3d_drv.h drm/v3d: Take a lock across GPU scheduler job creation and queuing. 2018-06-21 14:46:04 -07:00
v3d_fence.c
v3d_gem.c drm/v3d: Take a lock across GPU scheduler job creation and queuing. 2018-06-21 14:46:04 -07:00
v3d_irq.c
v3d_mmu.c
v3d_regs.h
v3d_sched.c
v3d_trace_points.c
v3d_trace.h