summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorUma Shankar <uma.shankar@intel.com>2017-05-31 15:40:54 +0530
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:30:43 +0800
commit4202180189bfa2c8c1515ffb31402241b05a4464 (patch)
treef1b506632b4ec076ad60309720597aacdafb6bb2 /include/drm
parent055fbe7210b3196c7790f5a01b9dfda979787c4f (diff)
drm: Add HDR capabilty field to plane structure
Hardware may have HDR capability on certain plane engines. Enabling the same in drm plane structure so that this can be communicated to user space. Each drm driver should set this flag to true for planes which support HDR. Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_plane.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drm_plane.h b/include/drm/drm_plane.h
index d20e1cc48d4c..4ccf52f1c12a 100644
--- a/include/drm/drm_plane.h
+++ b/include/drm/drm_plane.h
@@ -515,6 +515,9 @@ struct drm_plane {
enum drm_plane_type type;
+ /* Value of true:1 means HDR is supported */
+ bool hdr_supported;
+
/**
* @index: Position inside the mode_config.list, can be used as an array
* index. It is invariant over the lifetime of the plane.