summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorBenjamin Chan <bkchan@codeaurora.org>2016-10-07 14:49:39 -0400
committerBenjamin Chan <bkchan@codeaurora.org>2017-01-23 22:11:26 -0500
commit715bb59eead0adfe1eee710b51bbef33ccae9884 (patch)
tree4479ca19d173b3993fcf319c01aac7c2641d191f /include/uapi/linux
parent1f1d94408446043289fe0126897f98af2dce0ecd (diff)
msm: mdss: Add interface to support dest-scaler partial update
When destination scaler is used, the partial update ROI setting from the layer mixer is not correct to program the panel ROI. We need an extra panel ROI setting in such usecase. CRs-Fixed: 1082694 Change-Id: Ieda5d43b6c52987464cf88aba6526da4441ee1d9 Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/msm_mdp_ext.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/uapi/linux/msm_mdp_ext.h b/include/uapi/linux/msm_mdp_ext.h
index 24f1e7c7b742..3bd8bea8ae0d 100644
--- a/include/uapi/linux/msm_mdp_ext.h
+++ b/include/uapi/linux/msm_mdp_ext.h
@@ -125,6 +125,12 @@ DESTINATION SCALER FLAG CONFIGURATION
*/
#define MDP_DESTSCALER_ENHANCER_UPDATE 0x4
+/*
+ * Indicating a partial update to panel ROI. ROI can be
+ * applied anytime when Destination scaler is enabled.
+ */
+#define MDP_DESTSCALER_ROI_ENABLE 0x8
+
/**********************************************************************
VALIDATE/COMMIT FLAG CONFIGURATION
**********************************************************************/
@@ -405,6 +411,12 @@ struct mdp_destination_scaler_data {
* A userspace pointer points to struct mdp_scale_data_v2.
*/
uint64_t __user scale;
+
+ /*
+ * Panel ROI is used when partial update is required in
+ * current commit call.
+ */
+ struct mdp_rect panel_roi;
};
/*