Change interactive gov so it doesnt destroy sysfs group

Signed-off-by: task650 <task650@gmail.com>
msm_fb: display: Do clock control within mdp4_hw_init

Since mdp4_hw_init() access mdp registers, mdp clock control
within mdp4_hw_init() is necessary.

CRs-fixed: 455506
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Change-Id: I768f468314fc920029b4c88e49ef6a74f6b74f58
hardlockup: detect hard lockups without NMIs using secondary cpus

Emulate NMIs on systems where they are not available by using timer
interrupts on other cpus.  Each cpu will use its softlockup hrtimer
to update a per-cpu timestamp and then check the timestamp on the
next cpu.

The emulation uses the softlockup threshold instead of the hardlockup
threshold because the implementation runs at the same resolution as
the softlockup detector.

This patch is useful on systems where the hardlockup detector is not
available due to a lack of NMIs, for example most ARM SoCs.
Without this patch any cpu stuck with interrupts disabled can
cause a hardware watchdog reset with no debugging information,
but with this patch the kernel can detect the lockup and panic,
which can result in useful debugging info.

Signed-off-by: Colin Cross <ccross@android.com>
Change-Id: I3e6de6da27183b2a0a73a390e394f95a945856d9
bcmdhd: removed some TW artifacts
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