diff options
| author | Ping Li <pingli@codeaurora.org> | 2014-10-31 12:07:27 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:35:42 -0700 |
| commit | 2026a16aedc0ff374e78aed8ec9a929e681d37b8 (patch) | |
| tree | 831ba69f9005d3f93842aa34418755a4665cb7e1 /include/uapi/linux | |
| parent | 947a5d6ac5e48d1c92bd4b96ec2422352433fe2c (diff) | |
msm: mdss: Add support for IGC in thulium
Inverse gamma correction(IGC) feature is exposed by the MDP
hardware block in source and destination pipes. Clients of
the post processing driver can program the IGC tables and
enable the feature. This change adds support for IGC post
processing feature.
Change-Id: I177fb06f5eec58fea0a54b537c0009d4c8e01bd7
Signed-off-by: Ping Li <pingli@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/msm_mdp.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h index beb464c6e21a..8faaa3bc3a98 100644 --- a/include/uapi/linux/msm_mdp.h +++ b/include/uapi/linux/msm_mdp.h @@ -526,6 +526,18 @@ struct mdp_pa_v2_cfg_data { void *cfg_payload; }; +enum { + mdp_igc_v1_7 = 1, + mdp_igc_vmax, +}; + +enum { + mdp_igc_rec601, + mdp_igc_rec709, + mdp_igc_custom, + mdp_igc_mode_max, +}; + struct mdp_igc_lut_data { uint32_t block; uint32_t version; @@ -536,6 +548,7 @@ struct mdp_igc_lut_data { }; struct mdp_igc_lut_data_v1_7 { + uint32_t table_fmt; uint32_t len; uint32_t *c0_c1_data; uint32_t *c2_data; |
