From 3d8f14bbc7204d1425811fca99e29b2f35f35724 Mon Sep 17 00:00:00 2001 From: Krishna Chaitanya Parimi Date: Fri, 5 Sep 2014 22:26:11 +0530 Subject: msm: mdss: Override partial update PP block using ioctl Partial update when enabled blocks all PP ioctls. There is currently no subtle way to enable PP. Providing an ioctl to override the blockage of PP ioctls. This would allow PP to override the blockage caused due to the default enablement of partial update. Change-Id: Ia120caa179bfa0414041bacd80328540f24dd6c8 Signed-off-by: Krishna Chaitanya Parimi --- include/uapi/linux/msm_mdp.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/uapi') diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h index 80a8b27daa9e..d92e545c5c8c 100644 --- a/include/uapi/linux/msm_mdp.h +++ b/include/uapi/linux/msm_mdp.h @@ -848,6 +848,15 @@ struct mdp_calib_dcm_state { uint32_t dcm_state; }; +struct mdp_pp_init_data { + uint32_t init_request; +}; + +enum { + MDP_PP_DISABLE, + MDP_PP_ENABLE, +}; + enum { DCM_UNINIT, DCM_UNBLANK, @@ -962,6 +971,7 @@ enum { mdp_op_calib_buffer, mdp_op_calib_dcm_state, mdp_op_max, + mdp_op_pp_init_cfg, }; enum { @@ -992,6 +1002,7 @@ struct msmfb_mdp_pp { struct mdss_ad_input ad_input; struct mdp_calib_config_buffer calib_buffer; struct mdp_calib_dcm_state calib_dcm; + struct mdp_pp_init_data init_data; } data; }; -- cgit v1.2.3