Tune All BLOCK govs for Android needs, and allow more write power in ROW.
Revert "Boost global HZ value from 100 to 200! Lets boost this backet.."

This reverts commit 7b7b7e9e29dd54f21d0b535827e0de9e3c358be1.

Revert "Boost global HZ value from 100 to 200! Lets boost this backet.."

This reverts commit 7b7b7e9e29dd54f21d0b535827e0de9e3c358be1.

Setting 200 brake too much for cpu code, and give little boost..
so set the SLOW HZ=100 as stock..
MSM HOTPLUG: After i have reverted HZ = 200 to 100, i can set here HZ
CPUFREQ Ondemand: Merged LG latest GOV freq calculation. must better!

Now i have 2 Mods! LG as performance! and Samsung as Battery save!

Any way i have tuned both of them, it's not default.
workqueue: Remove panic

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
MSM HOTPLUG: Code style fix by neobuddy89
msm: camera_v2: Don't touch CCI if camera daemon crashed.

If daemon crashes, refrain from writing to the CCI. This is needed
because these writes will not wait in a process crash scenario and can
potentially leave the CCI in a bad state.

Change-Id: I785cb4af8dc3893b8a7f11e1d1c2a2e1ad775665
Signed-off-by: Satyavaraprasad Yerramsetti <satyav@codeaurora.org>
Signed-off-by: Satyavaraprasad Yerramsetti <satyav@codeaurora.org>
msm: Camera: Return proper value for msm_camera_qup_i2c_txdata().

msm_camera_qup_i2c_txdata() is not returning proper value.
Due to which session tear down is not happening properly
in case of i2c failure.
CRs-Fixed: 640328

Change-Id: Iac8be9d4755f807b45a6ede4f660b52cb88aedd4
Signed-off-by: Vivek Veenam <vveenam@codeaurora.org>
msm: mdss: fix sync fence deadlock when rotator is used

In the current implementation, whenever rotator play is called, it
forces DMA pipes to be released by calling commit on video mode ctl
paths if they are using DMA pipes. Here assumption was that DMA pipes
will either be used in block mode or line mode, all or none. But this
assumption is not valid any more where we can have a use-case where
DMA0 is used for rotator and DMA1 for video mode ctl path. In this
use-case, current implementation can lead to sync fence deadlock. Fix
this by removing obsolete assumption.

Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
msm: kgsl: enable CPU IRQ while suspending context

Make sure that CPU interrupt is enabled before calling adreno
suspend_context when moving from NAP/SLEEP to SUSPEND state.
We send commands to GPU in adreno_drawctxt_switch() which will generate
GPU interrupt. Since CPU interrupt is not enabled, adreno_idle() will
fail because pending interrupt will not be served by CPU this causes
false GPU hang.

Signed-off-by: Prakash Kamliya <pkamliya@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
MSM CPUFREQ: Small fix nothing important.