summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorAnusha Koduru <kanusha@codeaurora.org>2015-07-24 15:27:23 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:44:57 -0700
commit97746a102c51a195942671a957310fe55a97b638 (patch)
treec6024f080c689ef180e5b3d6b5996e759c5fbdd4 /Documentation
parent0bbece9015946323672e7c89ff5c17c5f0837b71 (diff)
msm: mdss: specify HFlip and VFlip per pipe BW limit
Apply per pipe BW limit check based on HFlip/VFlip. Some targets have different limits for BW based on usecase. Change-Id: Ie23dba396b47ffb3fb910e746e4a992fe6d78ab9 Signed-off-by: Anusha Koduru <kanusha@codeaurora.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/fb/mdss-mdp.txt18
1 files changed, 16 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/fb/mdss-mdp.txt b/Documentation/devicetree/bindings/fb/mdss-mdp.txt
index ddbe584e84af..8e840c10b7a5 100644
--- a/Documentation/devicetree/bindings/fb/mdss-mdp.txt
+++ b/Documentation/devicetree/bindings/fb/mdss-mdp.txt
@@ -427,8 +427,20 @@ Fudge Factors: Fudge factors are used to boost demand for
applied in scenarios where panel interface can
be more tolerant to memory latency such as
command mode panels.
-- qcom,max-bandwidth-per-pipe-kbps: This value indicates the max bandwidth in KB
- that a single pipe can support without underflow.
+- qcom,max-bandwidth-per-pipe-kbps: A two dimensional array indicating the max
+ bandwidth in KB that a single pipe can support
+ without underflow for various usecases. The
+ first parameter indicates the usecase and the
+ second parameter gives the max bw allowed for
+ the usecase. Following are the enum values for
+ modes in different cases:
+ For default case, mode = 1
+ camera usecase, mode = 2
+ hflip usecase, mode = 4
+ vflip usecase, mode = 8
+ First parameter/mode value need to match enum,
+ mdss_mdp_max_bw_mode, present in
+ include/uapi/linux/msm_mdp.h.
- qcom,max-bw-settings: This two dimension array indicates the max bandwidth
in KB that has to be supported when particular
scenarios are involved such as camera, flip.
@@ -612,6 +624,8 @@ Example:
qcom,max-bandwidth-low-kbps = <2300000>;
qcom,max-bandwidth-high-kbps = <3000000>;
+ qcom,max-bandwidth-per-pipe-kbps = <4 2100000>,
+ <8 1800000>;
qcom,max-bw-settings = <1 2300000>,
<2 1700000>,
<4 2300000>,