drm/atomic: integrate modeset lock with private objects
authorRob Clark <robdclark@gmail.com>
Mon, 22 Oct 2018 12:31:22 +0000 (14:31 +0200)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Tue, 11 Dec 2018 14:24:30 +0000 (15:24 +0100)
commitb962a12050a387e4bbf3a48745afe1d29d396b0d
tree175314ed87264ed37587a7eba43735394f50993e
parentcb8ce7111117e16a87f3f55c014ccd1f19f81016
drm/atomic: integrate modeset lock with private objects

Follow the same pattern of locking as with other state objects. This
avoids boilerplate in the driver.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20181022123122.30468-1-boris.brezillon@bootlin.com
drivers/gpu/drm/drm_atomic.c
drivers/gpu/drm/drm_dp_mst_topology.c
drivers/gpu/drm/drm_mode_config.c
drivers/gpu/drm/drm_modeset_lock.c
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c
drivers/gpu/drm/tegra/hub.c
drivers/gpu/drm/vc4/vc4_kms.c
include/drm/drm_atomic.h
include/drm/drm_mode_config.h