From a7425ea0ed87b7829ecd4add8aa99ca0eda84751 Mon Sep 17 00:00:00 2001 From: Ajay Singh Parmar Date: Wed, 10 Feb 2016 15:06:51 -0800 Subject: msm: mdss: hdmi: add deep color support Get deep color support information from sink's EDID (Extended Data Identification Data). Enable deep color output in hdmi transmitter if the sink supports RGB 30bpp output format. CRs-Fixed: 1022772 Change-Id: If65ac051253b4e51f6af5cd60f98eaf908b3bcfd Signed-off-by: Ajay Singh Parmar Signed-off-by: Tatenda Chipeperekwa --- include/uapi/linux/msm_mdp.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h index 1c04668ffc98..a1237ed996a5 100644 --- a/include/uapi/linux/msm_mdp.h +++ b/include/uapi/linux/msm_mdp.h @@ -296,6 +296,11 @@ enum mdss_mdp_max_bw_mode { /* Count of the number of MDP_FB_PAGE_PROTECTION_... values. */ #define MDP_NUM_FB_PAGE_PROTECTION_VALUES (5) +#define MDP_DEEP_COLOR_YUV444 0x1 +#define MDP_DEEP_COLOR_RGB30B 0x2 +#define MDP_DEEP_COLOR_RGB36B 0x4 +#define MDP_DEEP_COLOR_RGB48B 0x8 + struct mdp_rect { uint32_t x; uint32_t y; -- cgit v1.2.3