summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDhaval Patel <pdhaval@codeaurora.org>2014-09-05 14:56:10 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:35:24 -0700
commit2eae06948f4d3989ea4c7062fdccca014bd6eecb (patch)
treef48a56b1d5848bfdd069bab37e3b61293895bc23 /Documentation
parent50290a21e510dd3ff0c0d60ee757c306fee81e19 (diff)
msm: mdss: request ab/ib quota based on rt and nrt client
Non-RealTime(NRT) memory fetch should use NRT AXI ports while RT usecase memory fetch should go through RT AXI ports. Number of RT and NRT AXI ports can be different from chipset to chipset. MDSS driver hardcodes them to "2" for all usecases which won't apply for all MDP cores Ex: MDPv17. This change removes AXI ports hard coding and updates ab/ib request based on AXI ports availability for respective chipset. It uses uniform calculation method for ib/ab quota request on RT and NRT AXI ports to reduce the driver complexity and clean interface. Change-Id: I015c5c8a64bdf62f5747fcbcf19ba00cd29e21b5 Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/fb/mdss-mdp.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/fb/mdss-mdp.txt b/Documentation/devicetree/bindings/fb/mdss-mdp.txt
index 4b3268bc8f47..f7b2ffb4a396 100644
--- a/Documentation/devicetree/bindings/fb/mdss-mdp.txt
+++ b/Documentation/devicetree/bindings/fb/mdss-mdp.txt
@@ -169,6 +169,7 @@ Bus Scaling Data:
src values allowed for MDSS are:
22 = MSM_BUS_MASTER_MDP_PORT0
23 = MSM_BUS_MASTER_MDP_PORT1
+ 25 = MSM_BUS_MASTER_ROTATOR
dst values allowed for MDSS are:
512 = MSM_BUS_SLAVE_EBI_CH0
ab: Represents aggregated bandwidth.
@@ -180,6 +181,8 @@ Bus Scaling Data:
ab and ib values defined here are random and
bare no logic except for the use-case 0 where ab
and ib values needs to be 0.
+ * Define realtime vector properties followed by
+ non-realtime vector properties.
- qcom,mdss-prefill-outstanding-buffer-bytes: The size of mdp outstanding buffer
in bytes. The buffer is filled during prefill
@@ -259,6 +262,13 @@ Optional properties:
increased performance by prioritizing the real time
(rt) traffic over non real time (nrt) traffic to
access the memory.
+- qcom,mdss-num-nrt-paths: Integer property represents the number of non-realtime
+ paths in each Bus Scaling Usecase. This value depends on
+ number of AXI ports are dedicated to non-realtime VBIF for
+ particular chipset. This property is mandatory when
+ "qcom,mdss-has-fixed-qos-arbiter-enabled" is enabled.
+ These paths must be defined after rt-paths in
+ "qcom,msm-bus,vectors-KBps" vector request.
- qcom,mdss-has-source-split: Boolean property to indicate if source split
feature is available or not.
- qcom,mdss-has-rotator-downscale: Boolean property to indicate if rotator
@@ -487,6 +497,7 @@ Example:
qcom,msm-bus,num-cases = <3>;
qcom,msm-bus,num-paths = <2>;
qcom,mdss-dram-channels = <2>;
+ qcom,mdss-num-nrt-paths = <1>;
qcom,msm-bus,vectors-KBps =
<22 512 0 0>, <23 512 0 0>,
<22 512 0 6400000>, <23 512 0 6400000>,