From 4d9b8c2d45e8b6e9bde98c94e72b3d8db1b099dc Mon Sep 17 00:00:00 2001 From: Gopikrishnaiah Anandan Date: Wed, 20 May 2015 22:01:29 -0700 Subject: mdss: msm: Add support for gamut map enable Non-uniform mapping mode is configurable parameter exposed by MDP. Driver should provide the option to gamut clients to configure the mapping. Change updates the interface to expose the parameter and programs the gamut registers based on user setting. Change-Id: I71e7e0f7443da7856b0d03e6b2799f9380274893 Signed-off-by: Gopikrishnaiah Anandan --- include/uapi/linux/msm_mdp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/uapi/linux') diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h index 5ea380e9a37c..955840898d01 100644 --- a/include/uapi/linux/msm_mdp.h +++ b/include/uapi/linux/msm_mdp.h @@ -1023,6 +1023,7 @@ enum { struct mdp_gamut_data_v1_7 { uint32_t mode; + uint32_t map_en; uint32_t tbl_size[MDP_GAMUT_TABLE_NUM_V1_7]; uint32_t *c0_data[MDP_GAMUT_TABLE_NUM_V1_7]; uint32_t *c1_c2_data[MDP_GAMUT_TABLE_NUM_V1_7]; -- cgit v1.2.3