msm_fb: Calibration config API
Add definition for struct to be used in post processing calibration API.
Needed by OEM calibration tool to provide better support of post processing
features.
Change-Id: I40760a85bb58730bfe64469ecf3e2ab3b6e7609e
Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
diff --git a/include/linux/msm_mdp.h b/include/linux/msm_mdp.h
index d3f6792..b58728e 100644
--- a/include/linux/msm_mdp.h
+++ b/include/linux/msm_mdp.h
@@ -508,6 +508,12 @@
uint16_t *b_tbl[MDP_GAMUT_TABLE_NUM];
};
+struct mdp_calib_config_data {
+ uint32_t ops;
+ uint32_t addr;
+ uint32_t data;
+};
+
enum {
mdp_op_pcc_cfg,
mdp_op_csc_cfg,
@@ -517,6 +523,7 @@
mdp_op_pa_cfg,
mdp_op_dither_cfg,
mdp_op_gamut_cfg,
+ mdp_op_calib_cfg,
mdp_op_max,
};
@@ -531,6 +538,7 @@
struct mdp_pa_cfg_data pa_cfg_data;
struct mdp_dither_cfg_data dither_cfg_data;
struct mdp_gamut_cfg_data gamut_cfg_data;
+ struct mdp_calib_config_data calib_cfg;
} data;
};