drm: Make drm_modeset_lock_crtc internal
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 3 Apr 2017 08:32:50 +0000 (10:32 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Apr 2017 07:25:37 +0000 (09:25 +0200)
commit5f27502655f657989dac0622ecf70b9e173e90f8
tree219adb4a0fadd859aa2d3991c733101d65419f35
parent5db06a8a98f515f67446a69c57577c4c363ec65d
drm: Make drm_modeset_lock_crtc internal

This is only for legacy paths that need to grab the crtc/plane lock
combo. If you want to lock a crtc, just use drm_modeset_lock().

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170403083304.9083-2-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_crtc_internal.h
drivers/gpu/drm/drm_modeset_lock.c
include/drm/drm_modeset_lock.h