For crtc color pipeline add an element histogram. This is used to
generate the histogram.

Signed-off-by: Arun R Murthy <[email protected]>
---
 include/uapi/drm/drm_mode.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index 
aa24fef15da708f3e6804d07ffae5b0312dfdce0..d92be66813cf667d8361d837110740a521dca6eb
 100644
--- a/include/uapi/drm/drm_mode.h
+++ b/include/uapi/drm/drm_mode.h
@@ -964,6 +964,15 @@ enum drm_colorop_type {
         *         color = lut3d[index]
         */
        DRM_COLOROP_3D_LUT,
+
+       /**
+        * @DRM_COLOROP_HISTOGRAM:
+        *
+        * enum string "Histogram"
+        *
+        * Hardware generates the histogram which is an array of bins.
+        */
+       DRM_COLOROP_HISTOGRAM,
 };
 
 /**

-- 
2.25.1

Reply via email to