diff options
| author | Benet Clark <benetc@codeaurora.org> | 2013-10-04 17:34:32 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:22:13 -0700 |
| commit | 130e60d4147ed7e5f7b351133d360763ed62d99c (patch) | |
| tree | 6d530dbb7088ff0fe87202a657d605858a5e05bd /include/uapi/linux | |
| parent | c344bc4813b4f2065ac27f84ea748896f1f25ffc (diff) | |
msm: mdss: Add six zone functionality for PP PAv2
Added six zone memory color adjustment for picture adjustment block
in post-processing. This includes the necessary structures, flags,
and register reads and writes in order to program the six zone LUT hardware
block in PA
Change-Id: Idb381077497e2b63399ebeb7051027a46b5dd6e1
Signed-off-by: Benet Clark <benetc@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/msm_mdp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h index 3705ae885bf8..15895f9825bc 100644 --- a/include/uapi/linux/msm_mdp.h +++ b/include/uapi/linux/msm_mdp.h @@ -403,6 +403,8 @@ struct mdp_pa_mem_col_cfg { uint32_t val_region; }; +#define MDP_SIX_ZONE_TABLE_NUM 384 + struct mdp_pa_v2_data { /* Mask bits for PA features */ uint32_t flags; @@ -410,6 +412,9 @@ struct mdp_pa_v2_data { uint32_t global_sat_adj; uint32_t global_val_adj; uint32_t global_cont_adj; + uint32_t *six_zone_curve_p0; + uint32_t *six_zone_curve_p1; + uint32_t six_zone_thresh; struct mdp_pa_mem_col_cfg skin_cfg; struct mdp_pa_mem_col_cfg sky_cfg; struct mdp_pa_mem_col_cfg fol_cfg; |
