From d5da41a9807d90b8ee842a6bfafb35a7825f4ca7 Mon Sep 17 00:00:00 2001 From: Veera Sundaram Sankaran Date: Mon, 10 Oct 2016 17:14:32 -0700 Subject: 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 Signed-off-by: Ingrid Gallardo --- include/uapi/linux/msm_mdp_ext.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 -- cgit v1.2.3