]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Move atomic_state_put after locks are dropped
authorSean Paul <seanpaul@chromium.org>
Thu, 29 Nov 2018 15:04:16 +0000 (10:04 -0500)
committerSean Paul <seanpaul@chromium.org>
Thu, 29 Nov 2018 15:48:31 +0000 (10:48 -0500)
commit1675032148952d3c53c57c00f69a0d2cbd4cd45e
treef01bf5c9287b2a7b334e0d533e0c3e4d266dbcd1
parent42a606832f1ce6a4aa6b38ac80424e45a131ecdb
drm: Move atomic_state_put after locks are dropped

drm_atomic_state_put doesn't require any locking, and this makes things
easier for switching to modeset_lock_all helpers in a future patch

Changes in v2:
- Moved state->acquire_ctx clear to a separate patch (Daniel)

Reviewed-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20181129150423.239081-3-sean@poorly.run
drivers/gpu/drm/drm_atomic_helper.c