[PATCH i-g-t 2/5] lib/igt_kms: Add IGT_PLANE_SIZE_HINTS
Ville Syrjala
ville.syrjala at linux.intel.com
Fri Mar 15 19:15:02 UTC 2024
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
Add IGT_PLANE_SIZE_HINTS so that we can can query the plane
SIZE_HINTS property via igt_plane_{get,has}_prop().
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>
---
lib/igt_kms.c | 1 +
lib/igt_kms.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index e18f6fe59882..aa6f63594422 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -681,6 +681,7 @@ const char * const igt_plane_prop_names[IGT_NUM_PLANE_PROPS] = {
[IGT_PLANE_ZPOS] = "zpos",
[IGT_PLANE_FB_DAMAGE_CLIPS] = "FB_DAMAGE_CLIPS",
[IGT_PLANE_SCALING_FILTER] = "SCALING_FILTER",
+ [IGT_PLANE_SIZE_HINTS] = "SIZE_HINTS",
};
const char * const igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index b3882808b42f..b2cbbb7590a5 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -344,6 +344,7 @@ enum igt_atomic_plane_properties {
IGT_PLANE_SCALING_FILTER,
IGT_PLANE_HOTSPOT_X,
IGT_PLANE_HOTSPOT_Y,
+ IGT_PLANE_SIZE_HINTS,
IGT_NUM_PLANE_PROPS
};
--
2.43.2
More information about the igt-dev
mailing list