[i-g-t 03/16] include/drm-uapi: Add COLOROP object
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Wed Jan 3 20:22:39 UTC 2024
From: Harry Wentland <harry.wentland at amd.com>
DRM is introducing a new DRM core obejct, a drm_colorop. This
object will represent one color operation in a color pipeline.
Introduce the object type in the drm-uapi.
v3:
- move enum drm_colorop_type to drm_mode.h
Signed-off-by: Harry Wentland <harry.wentland at amd.com>
---
include/drm-uapi/drm_mode.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/drm-uapi/drm_mode.h b/include/drm-uapi/drm_mode.h
index ea1b639bc..c49526bca 100644
--- a/include/drm-uapi/drm_mode.h
+++ b/include/drm-uapi/drm_mode.h
@@ -629,6 +629,7 @@ struct drm_mode_connector_set_property {
#define DRM_MODE_OBJECT_FB 0xfbfbfbfb
#define DRM_MODE_OBJECT_BLOB 0xbbbbbbbb
#define DRM_MODE_OBJECT_PLANE 0xeeeeeeee
+#define DRM_MODE_OBJECT_COLOROP 0xfafafafa
#define DRM_MODE_OBJECT_ANY 0
struct drm_mode_obj_get_properties {
@@ -857,6 +858,10 @@ struct drm_color_lut {
__u16 reserved;
};
+enum drm_colorop_type {
+ DRM_COLOROP_1D_CURVE
+};
+
/**
* struct hdr_metadata_infoframe - HDR Metadata Infoframe Data.
*
--
2.40.0
More information about the Intel-gfx-trybot
mailing list