Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d31c581 authored by Arun Menon's avatar Arun Menon
Browse files

ARM: dts: msm: Enable vmem_plus governor on 8996



The current vmem governor does not scale up vmem clock
frequencies up to expected levels. This would result in
frame drops, especially during concurrent video sessions.
The new vmem governor fixes frame drops by ensuring that
the  vmem clock is always scaled one level below the video
core clock.

Change-Id: I04cfea2dbd7ad33e6663088333123106e6dfb51b
Signed-off-by: default avatarArun Menon <avmenon@codeaurora.org>
parent df0c439a
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -47,6 +47,16 @@
			< 489600 150000000 0xffffffff>, /* 1080p @ 60 */
			< 244800  75000000 0xffffffff>; /* 1080p @ 30 */

		/* Table lists <video_core_freq imem_ab> pairs.
		 * imem_ab value determines the imem clock frequency for the
		 * corresponding video core frequency.
		 */
		qcom,imem-ab-tbl =
			<75000000  1500000>, /* imem @ svs2 freq 75 Mhz */
			<150000000 1500000>, /* imem @ svs2 freq 75 Mhz */
			<355333333 2500000>, /* imem @ svs freq 171 Mhz */
			<533000000 6000000>; /* imem @ noimal freq 320 Mhz */

		/* Regulators */
		/* Note: don't change the order of the regulators below as they
		 * correspond to the order in which the driver enables them.
@@ -95,7 +105,7 @@
			label = "venus-vmem";
			qcom,bus-master = <MSM_BUS_MASTER_VIDEO_P0_OCMEM>;
			qcom,bus-slave = <MSM_BUS_SLAVE_VMEM>;
			qcom,bus-governor = "msm-vidc-vmem";
			qcom,bus-governor = "msm-vidc-vmem+";
			qcom,bus-range-kbps = <1000 6776000>;
		};