summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAjay Singh Parmar <aparmar@codeaurora.org>2014-12-26 14:48:10 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:37:26 -0700
commit0b544625b5fa0634c1ee667ef14fc07bb55d7fc2 (patch)
tree2156267e355e4a609fd570ae889ba261de6879e5 /include
parent33c63a3a5d371e933bb6a6629be7f08a46cec819 (diff)
msm: mdss: hdmi: give multiple resolution info using sysfs node
Provide complete resolution details in a sysfs node "res_info" limited to PAGE_SIZE. Different modules can query for multiple resolution details based on the resolution ids received from EDID of the TV. In case resolution details exceed PAGE_SIZE, reuse res_info to get remaining timing details by provide page details. Change-Id: I3e8e8d4de29f78d22273b3fb8ff6a059a8cb19e1 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/video/msm_hdmi_modes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/video/msm_hdmi_modes.h b/include/uapi/video/msm_hdmi_modes.h
index 9dbda4f512c3..e1dd71f6b6ba 100644
--- a/include/uapi/video/msm_hdmi_modes.h
+++ b/include/uapi/video/msm_hdmi_modes.h
@@ -23,6 +23,8 @@ struct msm_hdmi_mode_timing_info {
uint32_t supported;
};
+#define MSM_HDMI_INIT_RES_PAGE 1
+
#define MSM_HDMI_MODES_CEA (1 << 0)
#define MSM_HDMI_MODES_XTND (1 << 1)
#define MSM_HDMI_MODES_DVI (1 << 2)