[PATCH i-g-t 1/5] wip: drm-uapi: add drm_plane_size_hints

Ville Syrjala ville.syrjala at linux.intel.com
Fri Mar 15 19:15:01 UTC 2024


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

Add drm_plane_size_hints definition.

TODO: do this properly once the kernel stuff lands

Cc: Simon Ser <contact at emersion.fr>
Cc: Jonas Ådahl <jadahl at redhat.com>
Cc: Daniel Stone <daniel at fooishbar.org>
Cc: Sameer Lattannavar <sameer.lattannavar at intel.com>
Cc: Sebastian Wick <sebastian.wick at redhat.com>
Cc: Harry Wentland <harry.wentland at amd.com>
Cc: Pekka Paalanen <pekka.paalanen at collabora.com>
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 include/drm-uapi/drm_mode.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/include/drm-uapi/drm_mode.h b/include/drm-uapi/drm_mode.h
index ea1b639bcb28..a1d8506ff56c 100644
--- a/include/drm-uapi/drm_mode.h
+++ b/include/drm-uapi/drm_mode.h
@@ -857,6 +857,17 @@ struct drm_color_lut {
 	__u16 reserved;
 };
 
+/**
+ * struct drm_plane_size_hint - Plane size hints
+ *
+ * The plane SIZE_HINTS property blob contains an
+ * array of struct drm_plane_size_hint.
+ */
+struct drm_plane_size_hint {
+	__u16 width;
+	__u16 height;
+};
+
 /**
  * struct hdr_metadata_infoframe - HDR Metadata Infoframe Data.
  *
-- 
2.43.2



More information about the igt-dev mailing list