summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCarl Vanderlip <carlv@codeaurora.org>2013-12-11 13:27:00 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:24:26 -0700
commitecde0d8ccdc798540bdb3cc68ad62882cd7e96a0 (patch)
treee1ce0ee881833aea50a156bb4229f3de123c2fe3 /include
parent14df43f7ed1d25e38a3717baa9f2c48ac5375ef9 (diff)
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 <carlv@codeaurora.org> Signed-off-by: Ping Li <quicpingli@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/msm_mdp.h4
1 files changed, 4 insertions, 0 deletions
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)