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.

Signed-off-by: Saravana Kannan <skannan@codeaurora.org>

Change-Id: Ibd814a20043d0aba64ee7637a4a79b9ffa1b0991
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.

Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>

Change-Id: I544c414568d4e015b80ce5891dd215275bac95da
WORKAROUND: mm-video: venc: Correct a typo in variable name

until we have http://goo.gl/jVxRvX merged in qcom media-caf, we
can at least fix the data type to a long, but keep the name like
it is, so we dont break the build because of the missing commit,
meantioned above.

REVERT once the above commit is merged and we implement the real
patch for this.

Change-Id: I91aec18a9452feee78a00dc68d95ccd9cff22ba9
Revert "msm: We are using the msm2 gpu driver, not msm"

This reverts commit f7b57b6a1216be360d7b1261b581b5748642235b.
Revert "gpu: msm: Add new Adreno driver"

This reverts commit 33047ee836119647edc24ca29cca3b748bf2e3a5.