]> 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)
commit33961be1fa5c70cd75eb8f833470a978c9207a2f
tree54e84b73e68ce68ece6ef9adfa888afbb6ec8ed9
parent83f4ea9e2665bf1df34619acab47da39f8aefb09
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