[PATCH v5 37/37] drm-uapi: Sync up definition with kernel colorop implementation
Harry Wentland
harry.wentland at amd.com
Mon Aug 19 20:58:23 UTC 2024
From: Alex Hung <alex.hung at amd.com>
Add drm_colorop_lut1d_interpolation_type to IGT.
Signed-off-by: Alex Hung <alex.hung at amd.com>
---
include/drm-uapi/drm_mode.h | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/include/drm-uapi/drm_mode.h b/include/drm-uapi/drm_mode.h
index db4a0848b0b4..210b273c9beb 100644
--- a/include/drm-uapi/drm_mode.h
+++ b/include/drm-uapi/drm_mode.h
@@ -975,6 +975,19 @@ struct drm_mode_3dlut_mode {
__u16 traversal_order;
};
+/**
+ * enum drm_colorop_lut1d_interpolation_type - type of interpolation for 1D LUTs
+ */
+enum drm_colorop_lut1d_interpolation_type {
+ /**
+ * @DRM_COLOROP_LUT1D_INTERPOLATION_LINEAR:
+ *
+ * Linear interpolation. Values between points of the LUT will be
+ * linearly interpolated.
+ */
+ DRM_COLOROP_LUT1D_INTERPOLATION_LINEAR,
+};
+
/**
* struct hdr_metadata_infoframe - HDR Metadata Infoframe Data.
*
--
2.46.0
More information about the igt-dev
mailing list