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
This commit is contained in:
@@ -782,15 +782,6 @@ struct drm_crtc {
|
||||
*/
|
||||
spinlock_t commit_lock;
|
||||
|
||||
/**
|
||||
* @acquire_ctx:
|
||||
*
|
||||
* Per-CRTC implicit acquire context used by atomic drivers for legacy
|
||||
* IOCTLs, so that atomic drivers can get at the locking acquire
|
||||
* context.
|
||||
*/
|
||||
struct drm_modeset_acquire_ctx *acquire_ctx;
|
||||
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
/**
|
||||
* @debugfs_entry:
|
||||
|
||||
Reference in New Issue
Block a user