[igt-dev] [PATCH i-g-t 2/9] tests/kms_color: Add support for color pipeline properties

Chaitanya Kumar Borah chaitanya.kumar.borah at intel.com
Tue Aug 29 14:38:14 UTC 2023


Add support for properties to get and set a plane color pipeline

Co-developed-by: Uma Shankar <uma.shankar at intel.com>
Signed-off-by: Uma Shankar <uma.shankar at intel.com>
Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah at intel.com>
---
 lib/igt_kms.c | 2 ++
 lib/igt_kms.h | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index c2f3728a6..872e02512 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -616,6 +616,8 @@ 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_GET_COLOR_PIPELINE] = "GET_COLOR_PIPELINE",
+	[IGT_PLANE_SET_COLOR_PIPELINE] = "SET_COLOR_PIPELINE",
 };
 
 const char * const igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index f2c3741fc..d40a0b512 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -326,6 +326,8 @@ enum igt_atomic_plane_properties {
        IGT_PLANE_SCALING_FILTER,
        IGT_PLANE_HOTSPOT_X,
        IGT_PLANE_HOTSPOT_Y,
+       IGT_PLANE_GET_COLOR_PIPELINE,
+       IGT_PLANE_SET_COLOR_PIPELINE,
        IGT_NUM_PLANE_PROPS
 };
 
-- 
2.25.1



More information about the igt-dev mailing list