summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorJayant Shekhar <jshekhar@codeaurora.org>2015-04-27 17:25:43 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:42:00 -0700
commit1715b84a52cdfdd1cae433721b5707b6c1459025 (patch)
tree489f07fb27af53a284de3958d5cf4b7ba5904116 /include/uapi
parent17ab364131f7a5f9268ed1a7c50e1a299e94752b (diff)
msm: mdss: Add support to select max MDP bandwidth
MDSS currently has fixed maximum bandwidth enabled in DT file. But there are scenarios where this maximum bandwidth support can change to enhance performance. Based on scenarios such as camera use, or flip involved declare the max bandwidth for usecase in DT and change accordingly based on usecase. Change-Id: Icc85d75d7a60fe6f934a1fbd9d5077b620b2993d Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/msm_mdp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/uapi/linux/msm_mdp.h b/include/uapi/linux/msm_mdp.h
index 23fabe42ed0c..c06954354b06 100644
--- a/include/uapi/linux/msm_mdp.h
+++ b/include/uapi/linux/msm_mdp.h
@@ -196,6 +196,13 @@ enum {
NUM_HSIC_PARAM,
};
+enum mdss_mdp_max_bw_mode {
+ MDSS_MAX_BW_LIMIT_DEFAULT = 0x1,
+ MDSS_MAX_BW_LIMIT_CAMERA = 0x2,
+ MDSS_MAX_BW_LIMIT_HFLIP = 0x4,
+ MDSS_MAX_BW_LIMIT_VFLIP = 0x8,
+};
+
#define MDSS_MDP_ROT_ONLY 0x80
#define MDSS_MDP_RIGHT_MIXER 0x100
#define MDSS_MDP_DUAL_PIPE 0x200