msm: kgsl: Increase IDLE_TIMEOUT for 2D core to 20secs

Increasing the hang detection time for 2D core from
10 secs to 20 secs to avoid False GPU Hangs.
Some c2d test cases are taking more than 10 secs
to process which results in a False GPU Hang.

CRs-Fixed: 454439
Signed-off-by: Vikram Orre <vorre@codeaurora.org>
Change-Id: I1b36f6ee83b0dcabf7a2070e4d624edb8f812b89
Entropy tweaks

use non-blocking pool for all

http://lwn.net/Articles/489734/

Change-Id: I9de806b605ba9256346d8e1d63b42b2acc6befbe
msm: kgsl: drm: Increased max sub-buffers allowed to 3

To permit triple buffering, number of allowed sub-buffers
was increased to 3 from 2.

Signed-off-by: Michael Street <mstreet@codeaurora.org>
Change-Id: I0d70df7b1ecad438280c9560d9b70354f3681d8f
msm: kgsl: Convert the Adreno GPU cycle counters to run free

In anticipation of allowing multiple entities to share access to the
performance counters; make the few performance counters that KGSL
uses run free.

Change-Id: Ic0dedbadbefb400b04e4f3552eed395770ddbb7b
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
msm: pm-8x60: Add early return to msm_pm_enable_retention()

If retention is already disabled, it is not necessary to send IPIs to
the running CPUs to wake them up. Insert an early return for this
scenario to reduce overhead during Krait rail voltage scaling, which
calls this API on every voltage change.

Change-Id: I5db0bafae187ff8a68488e86d4787df9c45787e4
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
msm: mdss: add ability to debug underruns

Listen for and log display underrun events for debugging purposes.

Change-Id: I09be074fd5a60266e4434acd483c74e134ba68fa
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
video: msm: Increase MDP clock multiplier

  Quoted from original commit:
"* The porch values used on Samsung's panel drivers are very tight, and
   cause the MDP clock rate calculation to be right on the edge of
   stability...Raise the multiplier from 1.15 to 2 to fix the underrun."

   Believe we are experience the same thing or remotely similar to this on 3.4 base.

Change-Id: Iadd7facde88520a90a4394f57fe28214a92741a3