summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorVeera Sundaram Sankaran <veeras@codeaurora.org>2016-10-10 17:14:32 -0700
committerIngrid Gallardo <ingridg@codeaurora.org>2016-10-31 11:00:14 -0700
commitd5da41a9807d90b8ee842a6bfafb35a7825f4ca7 (patch)
treefa8c240440193f13ccbc82f6c87789b298dc0140 /include/uapi/linux
parenta7d84d65a868b2b81ba861966f1103f448545a88 (diff)
msm: mdss: add multiple partial update support
Currently, only one partial update ROI is supported, with multiple partial update feature the driver would support two partial update ROIs. The commit structs left_roi and right_roi along with a special flag are used to pass the two ROIs to the driver to minimize interface changes. MDP will add the two ROIs which is width aligned and configures the LMs accordingly and updates the panel info with the dual roi configs, so DSI is aware of multiple PU config and send DCS commands accordingly. Change-Id: I8481c79a36931e3cda8d893a82938499f2645f2a Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org> Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/msm_mdp_ext.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/msm_mdp_ext.h b/include/uapi/linux/msm_mdp_ext.h
index 811d8b4e1994..d2077024769f 100644
--- a/include/uapi/linux/msm_mdp_ext.h
+++ b/include/uapi/linux/msm_mdp_ext.h
@@ -147,6 +147,9 @@ VALIDATE/COMMIT FLAG CONFIGURATION
*/
#define MDP_COMMIT_AVR_ONE_SHOT_MODE 0x10
+/* Flag to indicate dual partial ROI update */
+#define MDP_COMMIT_PARTIAL_UPDATE_DUAL_ROI 0x20
+
/* Flag to enable concurrent writeback for the frame */
#define MDP_COMMIT_CWB_EN 0x800