From ecde0d8ccdc798540bdb3cc68ad62882cd7e96a0 Mon Sep 17 00:00:00 2001 From: Carl Vanderlip Date: Wed, 11 Dec 2013 13:27:00 -0800 Subject: msm: mdss: Support demo mode for post processing Add demo mode feature for numerous post processing features. In dual pipe case, demo mode allows for either the left or right pipe's feature to be disabled to showcase its effects. Features supported include assertive display, gamut mapping, panel gamma correction, inverse gamma correction, dithering, picture adjustment (v2 only), and polynomial color correction. Change-Id: I8bceeffc11967ff23497df7739e6f99c30d2b10f Signed-off-by: Carl Vanderlip Signed-off-by: Ping Li --- include/uapi/linux/msm_mdp.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h index 2e6c4e35bb60..6bd4f6b098c9 100644 --- a/include/uapi/linux/msm_mdp.h +++ b/include/uapi/linux/msm_mdp.h @@ -795,6 +795,10 @@ enum { DTM_EXIT, }; +#define MDSS_PP_SPLIT_LEFT_ONLY 0x10000000 +#define MDSS_PP_SPLIT_RIGHT_ONLY 0x20000000 +#define MDSS_PP_SPLIT_MASK 0x30000000 + #define MDSS_MAX_BL_BRIGHTNESS 255 #define AD_BL_LIN_LEN (MDSS_MAX_BL_BRIGHTNESS + 1) -- cgit v1.2.3