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

Fernando Ramos greenfoo at u92.eu
Wed Oct 13 20:48:46 UTC 2021


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 at u92.eu>
---
 include/drm/drm_mode_config.h | 10 ----------
 1 file changed, 10 deletions(-)

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:
 	 *
-- 
2.33.0



More information about the Nouveau mailing list