diff mbox series

[v4,20/20] drm: cleanup: remove acquire_ctx from drm_mode_config

Message ID 20211013204846.90026-21-greenfoo@u92.eu (mailing list archive)
State New
Delegated to: Kieran Bingham
Headers show
Series drm: cleanup: Use DRM_MODESET_LOCK_ALL_* helpers | expand

Commit Message

Fernando Ramos Oct. 13, 2021, 8:48 p.m. UTC
The previous patch removed drm_modeset_{lock,unlock}_all, which were the
only users of this field inside the drm_mode_config structure.

Signed-off-by: Fernando Ramos <greenfoo@u92.eu>
---
 include/drm/drm_mode_config.h | 10 ----------
 1 file changed, 10 deletions(-)
diff mbox series

Patch

diff --git a/include/drm/drm_mode_config.h b/include/drm/drm_mode_config.h
index 48b7de80daf5..b214b07157f2 100644
--- a/include/drm/drm_mode_config.h
+++ b/include/drm/drm_mode_config.h
@@ -383,16 +383,6 @@  struct drm_mode_config {
 	 */
 	struct drm_modeset_lock connection_mutex;
 
-	/**
-	 * @acquire_ctx:
-	 *
-	 * Global implicit acquire context used by atomic drivers for legacy
-	 * IOCTLs. Deprecated, since implicit locking contexts make it
-	 * impossible to use driver-private &struct drm_modeset_lock. Users of
-	 * this must hold @mutex.
-	 */
-	struct drm_modeset_acquire_ctx *acquire_ctx;
-
 	/**
 	 * @idr_mutex:
 	 *