From 2026a16aedc0ff374e78aed8ec9a929e681d37b8 Mon Sep 17 00:00:00 2001 From: Ping Li Date: Fri, 31 Oct 2014 12:07:27 -0700 Subject: 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 --- include/uapi/linux/msm_mdp.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'include/uapi/linux') 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; -- cgit v1.2.3