summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGopikrishnaiah Anandan <agopik@codeaurora.org>2015-05-20 22:01:29 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:42:25 -0700
commit4d9b8c2d45e8b6e9bde98c94e72b3d8db1b099dc (patch)
tree55c729dec6573263f74fd4cf35253724404e74f7 /include
parent5abc100e7a8e0aa4884f4007f82db66cab6b8722 (diff)
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 <agopik@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/msm_mdp.h1
1 files changed, 1 insertions, 0 deletions
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];