Missing gpu changes after update kgsl driver
msm: lpm_levels: remove rpm handshake in l2_gdhs mode

Remove rpm handshake in l2_gdhs mode and adjust the
latency values for l2_gdhs mode. Add a new dt entry to
inform lpm_levels driver to send sleep votes to rpm.

CRs-fixed: 604873
Change-Id: I9eeae5fada4f84ee2ca2eb9d67707dee1adf56ac
Signed-off-by: Anil kumar mamidala <amami@codeaurora.org>

Conflicts:
	arch/arm/boot/dts/msm8974pro-pm.dtsi
arm: dts: msm: update SPM sequences for krait v2.x

KPSS v2 implemented HW Sequencer to switch Krait power gate
modes. SPM toggle one power control signal to switch to RET/PC sleep.
If the SPM power control for the h/w sequencer is asserted for only
3 AHB clocks, a single cycle pulse is generated which latches the
newMode. The newMode is latched even though the h/w sequencer is
not idle. This causes the state machine to get stuck in LDO_PD state.

Update the retention SPM sequence as recommended by cpu design team
to avoid the issue. Power collapse sequences are already up to date.

CRs-fixed: 566952
Change-Id: I8fe74acf06d67b490f927b504e3aba266667cf9f
Signed-off-by: Venkat Devarasetty <vdevaras@codeaurora.org>
ARM: dts: msm: add rpm_master_stats support

Add rpm_master_stats support in msm8974 pro dtsi file
to print the status of each master in the system.

CRs-Fixed: 586130
Change-Id: I32b795569e27f7cb4bc6b94ccfbb8f2c2a1fd188
Signed-off-by: Anil kumar mamidala <amami@codeaurora.org>
ARM: dts: msm: Increase OCMEM BW request for video decode

There are framedrops observed on high bitrate clips because
OCMEM BW is not sufficient for these clips. Increase OCMEM BW
to avoid framedrops.

Change-Id: I7f3238036259e43a12899f2f7c73318328ae8eca
CRs-fixed: 571634
Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>
ARM: dts: msm: revert max-hw-load to fix concurrency usecases

This reverts commit 8da43bfcfa577e54ab516e06ec63ea99d611ca08.
The commit 8da43bfcfa577e54ab516e06ec63ea99d611ca08 was reducing
the maximum load which fails the concurrent usecase 1080p WFD with
4096*2160 playback.
During concurrency usecase 4096*2160 24fps Decode + 1080p 30fps WFD encode,
the MBs/sec is calculated based on default fps i.e. 30 with resolution
as 4096*2160. So eventually it becomes 4096*2160 30fps Decode + 1080p 30fps
WFD encode. This exceeds the max supported load and playback is aborted.

Change-Id: I699f2dbbb5d7807cc5800b47f7616c52b6fac11b
CRs-Fixed: 668061
Signed-off-by: Balamurugan Alagarsamy <balaga@codeaurora.org>

Conflicts:
	arch/arm/boot/dts/msm8974pro.dtsi
ARM: dts: msm: Add CX regulator Phandle to MDP node

The Phandle might change for different versions of
the msm8974 chip. Add the proper Phandle of CX regulator
to 8974pro version.

Change-Id: If51fbac539922c55a5ce8583b21cc68419c6f0fc
Signed-off-by: Xiaoming Zhou <zhoux@codeaurora.org>
ARM: dts: Modify BKE limiting for Krait master

Modify the BKE limiting properties for Krait master by setting up 2
levels of threshold checks and limiting bandwidth values to be applied.
These levels of throttling are needed in certain concurrency usecases to
protect real time masters from surges in bus usage from some APSS masters.

Change-Id: I04d086e10df27d0f7cc1a234fe9eb36a9ea73e65
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
Lost changes