diff options
author | Eric Anholt <eric@anholt.net> | 2018-06-06 10:48:51 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2018-06-21 14:46:04 -0700 |
commit | 7122b68b8a9692dcc3acf89595f04c492872115f (patch) | |
tree | c1bbdd237d54dca2fb474dbcc8c5b690bd26fc98 /include/drm | |
parent | 6aa13402c11035a428d8c621b334734971d5d39d (diff) |
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: 57692c94dcbe ("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>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions