]> git.baikalelectronics.ru Git - kernel.git/commit
drm: add drm_modeset_lock|unlock_all
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 1 Dec 2012 23:28:11 +0000 (00:28 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 20 Jan 2013 21:16:38 +0000 (22:16 +0100)
commitffa1d52c55af70b0fffc50990fa731fb48daf894
tree54e84b73e68ce68ece6ef9adfa888afbb6ec8ed9
parent7191143ed9e9e648fc8ee51910bc276ebb3f5355
drm: add drm_modeset_lock|unlock_all

This is the first step towards introducing the new modeset locking
scheme. The plan is to put helper functions into place at all the
right places step-by-step, so that the final patch to switch on the
new locking scheme doesn't need to touch every single driver.

This helper here will serve as the shotgun solutions for all places
where a more fine-grained locking isn't (yet) implemented.

v2: Fixup kerneldoc for unlock_all.

Reviewed-by: Rob Clark <rob@ti.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_crtc_helper.c
drivers/gpu/drm/drm_fb_helper.c
include/drm/drm_crtc.h