summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-07-21 11:08:21 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-07-21 11:08:21 -0700
commit5d3a6dd49d546e2dbaf4acb6303055e02bd40efb (patch)
treeb2d59b1ea5ef1fd25499c27d063270c0d9833a33 /include
parent7aa065cbc4f86125895f6c7c6a5ac1fdda231505 (diff)
parent033b9198d03f2dba7cb89efe34a2d9f2dbc415ad (diff)
Merge "drm/msm: add support for HDR playback control sequence"
Diffstat (limited to 'include')
-rw-r--r--include/uapi/drm/msm_drm.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/uapi/drm/msm_drm.h b/include/uapi/drm/msm_drm.h
index 927c3626edb7..8b51873e7b08 100644
--- a/include/uapi/drm/msm_drm.h
+++ b/include/uapi/drm/msm_drm.h
@@ -84,6 +84,21 @@ struct drm_msm_ext_panel_hdr_metadata {
};
/**
+ * HDR Control
+ * This encapsulates the HDR metadata as well as a state control
+ * for the HDR metadata as required by the HDMI spec to send the
+ * relevant metadata depending on the state of the HDR playback.
+ * hdr_state: Controls HDR state, takes values ENABLE(1)/DISABLE(0)
+ * hdr_meta: Metadata sent by the userspace for the HDR clip
+ */
+
+#define DRM_MSM_EXT_PANEL_HDR_CTRL
+struct drm_msm_ext_panel_hdr_ctrl {
+ __u8 hdr_state; /* HDR state */
+ struct drm_msm_ext_panel_hdr_metadata hdr_meta; /* HDR metadata */
+};
+
+/**
* HDR sink properties
* These are defined as per EDID spec and shall be used by the userspace
* to determine the HDR properties to be set to the sink.