From e8bd84e0ca6e2eddc10d753bac0dfaafdb2193c4 Mon Sep 17 00:00:00 2001 From: Ping Li Date: Tue, 11 Nov 2014 16:20:09 -0800 Subject: 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 --- include/uapi/linux/msm_mdp.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/uapi') 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; -- cgit v1.2.3