[igt-dev] [RFC PATCH 2/4][[i-g-t] lib/igt_kms: Add 3D LUT properties
Alex Hung
alex.hung at amd.com
Tue Oct 4 21:16:24 UTC 2022
Add support for 3D LUT properties.
Note: The kernel 3DLUT API proposal "Proposal for Pre-blending 3D LUT
interfaces" is sent to dri-devel mailing list.
Signed-off-by: Alex Hung <alex.hung at amd.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 677d26fe..5eb0aaeb 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -586,6 +586,8 @@ const char * const igt_plane_prop_names[IGT_NUM_PLANE_PROPS] = {
[IGT_PLANE_GAMMA_LUT] = "PLANE_GAMMA_LUT",
[IGT_PLANE_DEGAMMA_MODE] = "PLANE_DEGAMMA_MODE",
[IGT_PLANE_DEGAMMA_LUT] = "PLANE_DEGAMMA_LUT",
+ [IGT_PLANE_3D_LUT_MODE] = "PLANE_3D_LUT_MODE",
+ [IGT_PLANE_3D_LUT] = "PLANE_3D_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 5fac651f..0bcfc7b1 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -307,6 +307,8 @@ enum igt_atomic_plane_properties {
IGT_PLANE_GAMMA_LUT,
IGT_PLANE_DEGAMMA_MODE,
IGT_PLANE_DEGAMMA_LUT,
+ IGT_PLANE_3D_LUT_MODE,
+ IGT_PLANE_3D_LUT,
IGT_NUM_PLANE_PROPS
};
--
2.25.1
More information about the igt-dev
mailing list