[igt-dev] [PATCH i-g-t 1/2 v2] lib/igt_kms: Add zpos plane property.

Marius Vlad marius.vlad at collabora.com
Sun Mar 10 08:28:52 UTC 2019


From: Marius Vlad <marius.vlad0 at gmail.com>

Signed-off-by: Marius Vlad <marius.vlad at collabora.com>
Reviewed-by: Philipp Zabel <p.zabel at pengutronix.de>
---
 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 7ebab4ca..10a63c71 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -177,6 +177,7 @@ const char * const igt_plane_prop_names[IGT_NUM_PLANE_PROPS] = {
 	[IGT_PLANE_COLOR_RANGE] = "COLOR_RANGE",
 	[IGT_PLANE_PIXEL_BLEND_MODE] = "pixel blend mode",
 	[IGT_PLANE_ALPHA] = "alpha",
+	[IGT_PLANE_ZPOS] = "zpos",
 };
 
 const char * const igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index a29ad783..fc83497e 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -272,6 +272,7 @@ enum igt_atomic_plane_properties {
        IGT_PLANE_COLOR_RANGE,
        IGT_PLANE_PIXEL_BLEND_MODE,
        IGT_PLANE_ALPHA,
+       IGT_PLANE_ZPOS,
        IGT_NUM_PLANE_PROPS
 };
 
-- 
2.20.1



More information about the igt-dev mailing list