diff options
| author | Arpita Banerjee <cabane@codeaurora.org> | 2013-06-04 19:43:24 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:18:39 -0700 |
| commit | 9c1aa817afabafbe77654145ff94bc85ec59451f (patch) | |
| tree | 8ab8817e58d300e6deb640792ca999cc2855d16c /include/uapi | |
| parent | 72ed839bf67f24b2162f0963112678a2565b9bf9 (diff) | |
msm: mdss: Add read/write buffer support for calibraiton tool
This change allows to process read/write operation through
buffer instead of single IOCTL call. It is part of
optimization to save DIAG packet processing time.
Change-Id: Iffaab2dd160959f8c7950ebca043b1e0cf25877c
Signed-off-by: Arpita Banerjee <cabane@codeaurora.org>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/linux/msm_mdp.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h index 7464f54c046b..65c4a2e04dbc 100644 --- a/include/uapi/linux/msm_mdp.h +++ b/include/uapi/linux/msm_mdp.h @@ -596,6 +596,12 @@ struct mdp_calib_config_data { uint32_t data; }; +struct mdp_calib_config_buffer { + uint32_t ops; + uint32_t size; + uint32_t *buffer; +}; + #define MDSS_MAX_BL_BRIGHTNESS 255 #define AD_BL_LIN_LEN (MDSS_MAX_BL_BRIGHTNESS + 1) @@ -686,6 +692,8 @@ enum { mdp_op_calib_cfg, mdp_op_ad_cfg, mdp_op_ad_input, + mdp_op_calib_mode, + mdp_op_calib_buffer, mdp_op_max, }; @@ -712,6 +720,7 @@ struct msmfb_mdp_pp { struct mdp_calib_config_data calib_cfg; struct mdss_ad_init_cfg ad_init_cfg; struct mdss_ad_input ad_input; + struct mdp_calib_config_buffer calib_buffer; } data; }; |
