]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Remove drm_modeset_legacy_acquire_ctx and crtc->acquire_ctx
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 3 Apr 2017 08:32:52 +0000 (10:32 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Apr 2017 07:26:45 +0000 (09:26 +0200)
commit7d5aa76024508ec180cd44a6564412a7bee66a56
tree083f1bfa3366408b58d05c17cf1f122dcab284c9
parentcfe06ab66545c16715ab5e9b7e0cfd720774fd83
drm: Remove drm_modeset_legacy_acquire_ctx and crtc->acquire_ctx

With all the callers of drm_modeset_lock_crtc gone, and all the places
it was formerly used properly wiring the acquire ctx through, we can
remove this.

The only hidden context magic we still have is now the global one.

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-4-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_atomic.c
drivers/gpu/drm/drm_atomic_helper.c
drivers/gpu/drm/drm_modeset_lock.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_pipe_crc.c
include/drm/drm_crtc.h
include/drm/drm_modeset_lock.h