KGSL: make simple govenor a selectable option, co-exist with ondemand

also removed some hardcoded values

Signed-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	drivers/gpu/msm/kgsl_pwrscale_trustzone.c
KGSL: simple governor: expose tunables to sysfs interface via module_param

Signed-off-by: Paul Reioux <reioux@gmail.com>
KGSL: Simple Governor: fix minor logic issue

Signed-off-by: Paul Reioux <reioux@gmail.com>
cpufreq: initial CPU turbo boost coding

Signed-off-by: faux123 <reioux@gmail.com>
turbo boost: enable by default when CPU OC is selected

Signed-off-by: faux123 <reioux@gmail.com>
acpuclock-8064: remove 1.2 GHz L2 speed to be in sync with CAF

according to CAF, 1.2 GHz L2 speed has stability issues :(

Signed-off-by: Paul Reioux <reioux@gmail.com>
overclocking: Nexus7 flo adaptation

Signed-off-by: Paul Reioux <reioux@gmail.com>
overclocking: Nexus 7 flo adaptation part deux

also added the low clocks as well

Signed-off-by: Paul Reioux <reioux@gmail.com>
overclocking: add another class "ULTRA" for OC in the 2.2~2.3 GHz range

Signed-off-by: Paul Reioux <reioux@gmail.com>
Sweep2wake and Doubletap2wake for the Nexus 7 (flo)

sweep2wake/doubletap2wake adjustments

rework s2w and dt2w, now we're getting somewhere

Add shortsweep option
cpufreq: Add cpu-boost driver

When certain bursty and important events take place, it might take a while
for the current cpufreq governor to notice the new load and react to it.
That would result in poor user experience. To alleviate this, the cpu-boost
driver boosts the frequency of a CPU for a short duration to maintain good
user experience while the governor catches up.

Specifically, this commit deals with ensuring that when "important" tasks
migrate from a fast CPU to a slow CPU, the frequency of the slow CPU is
boosted to be at least as high as the fast CPU for a short duration.

Since this driver enforces the boost by hooking into standard cpufreq
ADJUST notifiers, it has several advantages:
- More portable across kernel versions where the cpufreq internals might
  have been rewritten.
- Governor agnostic and hence works with multiple governors like
  conservative, ondemand, interactive, etc.
- Does not affect the sampling period/logic of existing governors.
- Can have the boost period adjusted independent of governor sampling
  period.

Change-Id: Ibd814a20043d0aba64ee7637a4a79b9ffa1b0991
Signed-off-by: Saravana Kannan <skannan@codeaurora.org>
cpufreq: Add a sync limit to cpu-boost

Perform frequency synchronization only when source CPU's frequency
is less than sync_threshold, else sync to the sync_threshold.

Change-Id: I544c414568d4e015b80ce5891dd215275bac95da
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
turbo boost: raise max OC to 1.728 GHz

Signed-off-by: Paul Reioux <reioux@gmail.com>