]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commitb260ac3ebef5eb748207cd542dba00af6c5caaa5
tree083f1bfa3366408b58d05c17cf1f122dcab284c9
parentb95ff0319a829d5e707d64a3994c75f012f6b6ec
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