summaryrefslogtreecommitdiff
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorMayank Chopra <makchopra@codeaurora.org>2013-06-12 15:58:04 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:18:42 -0700
commitbd5dfd27d4033fb10793f670d0d01b68897b98e4 (patch)
tree837fc576a4e196b63ba92f082c144a5077b913e1 /Documentation/devicetree
parent46a045d1e46384f929f365221092cd501b46e0a5 (diff)
msm: mdss: Restrict SMP buffer reservation
Given two line latency buffer requirement for performance, in some cases, three or more SMP blocks get reserved. This happens typically for the usecases involving higher resolution layers (e.g. 1080P). For these usecases required number of SMP blocks exceed total number of SMP blocks available, thus causing SMP reservation failures. These failures are often encountered in 8x26 target as it has in total, only seven SMP blocks available. Restrict SMP buffer reservation to two SMP blocks, based on an optionable device tree property, to be able to support most of the usecases. This restriction is not applicable to horizontal flip cases where two line latency buffer reservation is necessary. Change-Id: I7d57568b4b2710df0142bbc16749e56a9b492dfe Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/fb/mdss-mdp.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/fb/mdss-mdp.txt b/Documentation/devicetree/bindings/fb/mdss-mdp.txt
index 514160e21d0a..7093fb849638 100644
--- a/Documentation/devicetree/bindings/fb/mdss-mdp.txt
+++ b/Documentation/devicetree/bindings/fb/mdss-mdp.txt
@@ -126,6 +126,11 @@ Optional properties:
- qcom,mdss-has-wfd-blk: Boolean property to indicate the presence of dedicated
writeback wfd block in MDSS as opposed to writeback
block that is shared between rotator and wfd.
+- qcom,mdss-smp-mb-per-pipe: Maximum number of shared memory pool blocks
+ restricted for a source surface pipe. If this
+ property is not specified, no such restriction
+ would be applied.
+
Optional subnodes:
Child nodes representing the frame buffer virtual devices.
@@ -161,6 +166,7 @@ Example:
qcom,mdss-pipe-dma-fetch-id = <10 13>;
qcom,mdss-smp-data = <22 4096>;
qcom,mdss-rot-block-size = <64>;
+ qcom,mdss-smp-mb-per-pipe = <2>;
qcom,mdss-has-bwc;
qcom,mdss-has-decimation;
qcom,mdss-has-wfd-blk;