[i-g-t 02/16] lib/igt_kms: Add plane color mgmt properties
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Wed Jul 20 10:48:28 UTC 2022
Add support for Plane color management properties.
V2:
* Rebase
Cc: Harry Wentland <harry.wentland at amd.com>
Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Cc: Pekka Paalanen <ppaalanen at gmail.com>
Cc: Uma Shankar <uma.shankar at intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
lib/igt_kms.c | 5 +++++
lib/igt_kms.h | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 14064614..c270581c 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -582,6 +582,11 @@ 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_CTM] = "PLANE_CTM",
+ [IGT_PLANE_GAMMA_MODE] = "PLANE_GAMMA_MODE",
+ [IGT_PLANE_GAMMA_LUT] = "PLANE_GAMMA_LUT",
+ [IGT_PLANE_DEGAMMA_MODE] = "PLANE_DEGAMMA_MODE",
+ [IGT_PLANE_DEGAMMA_LUT] = "PLANE_DEGAMMA_LUT",
};
const char * const igt_crtc_prop_names[IGT_NUM_CRTC_PROPS] = {
diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index 5856a4b3..83491989 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -305,6 +305,11 @@ enum igt_atomic_plane_properties {
IGT_PLANE_ZPOS,
IGT_PLANE_FB_DAMAGE_CLIPS,
IGT_PLANE_SCALING_FILTER,
+ IGT_PLANE_CTM,
+ IGT_PLANE_GAMMA_MODE,
+ IGT_PLANE_GAMMA_LUT,
+ IGT_PLANE_DEGAMMA_MODE,
+ IGT_PLANE_DEGAMMA_LUT,
IGT_NUM_PLANE_PROPS
};
--
2.35.1
More information about the Intel-gfx-trybot
mailing list