summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorArpita Banerjee <cabane@codeaurora.org>2013-06-11 19:24:20 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:19:08 -0700
commitd00b8490439fd7cd30021f4e2ffb0377f5dd1dc3 (patch)
tree5a876f93f9ccd4d616f149cf8eb2f0ae289e7943 /include/uapi
parent55af4e7729919619c2d2aac6c5e8c9ada4375232 (diff)
msm: mdss: support enter/exit DCM for calibration
This change supports the enter/exit DCM for calibration tool. It blocks the unblank operation if target is in DCM (Display Calibration Mode). Change-Id: If65449b9863bb1f9ca0346d736b6939261d1394e Signed-off-by: Arpita Banerjee <cabane@codeaurora.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/msm_mdp.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h
index 2e4cff5db866..168bf154fde4 100644
--- a/include/uapi/linux/msm_mdp.h
+++ b/include/uapi/linux/msm_mdp.h
@@ -77,6 +77,7 @@
enum {
NOTIFY_UPDATE_START,
NOTIFY_UPDATE_STOP,
+ NOTIFY_UPDATE_POWER_OFF,
};
enum {
@@ -602,6 +603,19 @@ struct mdp_calib_config_buffer {
uint32_t *buffer;
};
+struct mdp_calib_dcm_state {
+ uint32_t ops;
+ uint32_t dcm_state;
+};
+
+enum {
+ DCM_UNINIT,
+ DCM_UNBLANK,
+ DCM_ENTER,
+ DCM_EXIT,
+ DCM_BLANK,
+};
+
#define MDSS_MAX_BL_BRIGHTNESS 255
#define AD_BL_LIN_LEN (MDSS_MAX_BL_BRIGHTNESS + 1)
@@ -694,6 +708,7 @@ enum {
mdp_op_ad_input,
mdp_op_calib_mode,
mdp_op_calib_buffer,
+ mdp_op_calib_dcm_state,
mdp_op_max,
};
@@ -723,6 +738,7 @@ struct msmfb_mdp_pp {
struct mdss_ad_init_cfg ad_init_cfg;
struct mdss_ad_input ad_input;
struct mdp_calib_config_buffer calib_buffer;
+ struct mdp_calib_dcm_state calib_dcm;
} data;
};