summaryrefslogtreecommitdiff
path: root/include/drm/drm_device.h
diff options
context:
space:
mode:
authorLuiz Otavio Mello <luiz.mello@estudante.ufscar.br>2025-09-08 09:15:09 -0400
committerRodrigo Vivi <rodrigo.vivi@intel.com>2025-09-09 10:34:08 -0400
commit86a9fe82e9b1f43e6d2bc867bf96bb40660d8719 (patch)
treec8a61f9eef3cf007bbf75e21cd37288b0cebfd13 /include/drm/drm_device.h
parentf985e105ced10304abd3b2d822994b87c88145f8 (diff)
drm/i915: Move struct_mutex to drm_i915_private
Move legacy BKL struct_mutex from drm_device to drm_i915_private, which is the last remaining user. Signed-off-by: Luiz Otavio Mello <luiz.mello@estudante.ufscar.br> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://lore.kernel.org/r/20250908131518.36625-2-luiz.mello@estudante.ufscar.br Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include/drm/drm_device.h')
-rw-r--r--include/drm/drm_device.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/drm/drm_device.h b/include/drm/drm_device.h
index 08b3b2467c4c..cb16fd47e075 100644
--- a/include/drm/drm_device.h
+++ b/include/drm/drm_device.h
@@ -187,16 +187,6 @@ struct drm_device {
char *unique;
/**
- * @struct_mutex:
- *
- * Lock for others (not &drm_minor.master and &drm_file.is_master)
- *
- * TODO: This lock used to be the BKL of the DRM subsystem. Move the
- * lock into i915, which is the only remaining user.
- */
- struct mutex struct_mutex;
-
- /**
* @master_mutex:
*
* Lock for &drm_minor.master and &drm_file.is_master