[Intel-gfx] [PATCH v3 15/16] drm: Nuke mode->private_flags

Ville Syrjala ville.syrjala at linux.intel.com
Tue Apr 28 17:19:39 UTC 2020


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

The last two uses of mode->private_flags (in i915 and gma500)
are now gone. So let's remove mode->private_flags entirely.

v2: Drop the earlier int->u8 conversion

CC: Sam Ravnborg <sam at ravnborg.org>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Cc: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Sam Ravnborg <sam at ravnborg.org>
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 include/drm/drm_modes.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/include/drm/drm_modes.h b/include/drm/drm_modes.h
index b81b829ab35b..1e97138a9b8c 100644
--- a/include/drm/drm_modes.h
+++ b/include/drm/drm_modes.h
@@ -348,16 +348,6 @@ struct drm_display_mode {
 	 */
 	u8 type;
 
-	/**
-	 * @private_flags:
-	 *
-	 * Driver private flags. private_flags can only be used for mode
-	 * objects passed to drivers in modeset operations. It shouldn't be used
-	 * by atomic drivers since they can store any additional data by
-	 * subclassing state structures.
-	 */
-	int private_flags;
-
 	/**
 	 * @head:
 	 *
-- 
2.24.1



More information about the Intel-gfx mailing list