summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPing Li <pingli@codeaurora.org>2014-11-11 16:20:09 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:35:44 -0700
commite8bd84e0ca6e2eddc10d753bac0dfaafdb2193c4 (patch)
treebba6a6762b76a99c3bd81d5d57468e6e767dbe3d /include
parentea14d7ee8802ba20a68ada8501b6f537435b88f1 (diff)
msm: mdss: Support for gamma correction in thulium
Gama correction blocks are part of destination and layer mixer blocks of MDP. Client of PP driver can program these blocks and enable them. Change adds support to program and enable the gamma correction blocks. Change-Id: Ieba07290525c1ccf79e4abf3648baf3dfd02d266 Signed-off-by: Ping Li <pingli@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/msm_mdp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h
index e37219d15f55..72595ecf2cd4 100644
--- a/include/uapi/linux/msm_mdp.h
+++ b/include/uapi/linux/msm_mdp.h
@@ -900,6 +900,12 @@ struct mdp_pgc_lut_data {
void *cfg_payload;
};
+enum {
+ mdp_pgc_v1_7 = 1,
+ mdp_pgc_vmax,
+};
+
+#define PGC_LUT_ENTRIES 1024
struct mdp_pgc_lut_data_v1_7 {
uint32_t len;
uint32_t *c0_data;