m7: build BCMDHD into kernel

Change-Id: Ia293caacf6bbaca97828ca8353f4003fa5c021fb
m7: disable module loading

Change-Id: I4a77f9100d57fef5446e56b2407fa7236856a6ef
dlx: Increase MM heap size for smooth streaming

Our version of:

commit b177b0d25f882df8d88ca511f7e083d6348f5c9d
Author: Steve Kondik <shade@chemlab.org>
Date:   Tue Nov 26 15:01:32 2013 -0800

    m7: Increase MM heap side for smooth streaming

    Change-Id: If3d846a4b28a0b990e40269ce38fc4b5022766ed

Change-Id: I610b08e764fd37c9fa3d03971d0a9137970399aa
dlx: Update based on the HTC One GE commit

Mirror a subset of the board changes done for the M7 in

commit d9085c6f03c5885bf5d63ceccdf69b3070b0c386
Author: Ethan Chen <intervigil@gmail.com>
Date:   Mon Nov 25 16:52:27 2013 -0800

    misc: update from HTC One Google Edition source

    HTC kernel version: m7-kk-3.4.10-17db3b4

    Change-Id: Id63c6e0a94dff90d0a50daab33a745a8e2069a00

Change-Id: I6f25032e7e10e28ed3adea176b8ae7577a7fa9e8
dlx: Add separate GPU shader memory mapping

Add the dlx board changes for:

commit f62ab60b86be961e62186963a99cf1967153c186
Author: Carter Cooper <ccooper@codeaurora.org>
Date:   Wed Jun 26 15:19:30 2013 -0600

    msm: kgsl: Add separate GPU shader memory mapping

Change-Id: I2e00b1860720a5bf12b0c8e746c6cafac899d0fd
dlx: Regenerate defconfig

Change-Id: I858f882ac3278b807d3bac4d6b1e8f0d583c4b55
dlx: Mirror changes made to the M7 defconfig post HTC One merge

Change-Id: If2c383a1d3fddf82c5fb3ee5629536213b8f344b
dlx: Build BCMDHD into kernel

Change-Id: Ide7955970e26366e1f78ebedf9d049539e70c4f4
dlx: Disable module loading

Change-Id: Ibd024c4fe0648b57646e06814ce43d9f58ef89a5
msm: We are using the msm2 gpu driver, not msm

Fix references that are incorrectly pointing at drivers/gpu/msm
instead of msm2.

The incorrect includes cause linaro gcc 4.8 with -O3 to produce
an unbootable kernel on the DLX.

While it doesn't seem to be affecting our normal builds, not
fixing it will likely bite us in the future in some other
mysterious way.

Change-Id: I3c51062ca6a66ddb9782365d2c51c5e485556c1b
net: wireless: bcmdhd: reset to "Fix of Wireless Location Service"

Squash of:

Revert "Revert bcmdhd driver to sane state"

This reverts commit 38cddfbf3bf89592df4e3b7f1289d048c52fdac5.

Revert "Revert "net: wireless: bcmdhd: Enable p2p support bits for p2p device""

This reverts commit 92adac0e62e2df9954e2e71fb4e6eabdcd9dc1d0.

Change-Id: I751d69a9c908dd6e029cec1444936f0b95619d11
m7 / dlx: Remove the smartmax cpufreq governor

This was randomly added in an early commit to this kernel.
I'm not sure why we would want it in here at all.

Change-Id: Ic5bb1a71306466bceb27bed3e41ce748cda1dfd0
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>
dlx: Set performance as the default cpufreq governor

This will be modified by the post_boot service.

It appears that this only removes about 1 second from the boot
time but every second counts.

Change-Id: I66ce483c87b0f24b51da1acd8d0e1928b4ce0c02
cpufreq: Add Input Boost feature to the cpu-boost driver

On incoming input events boost the frequency of all online cpus
for at least input_boost_ms ms. This is accomplished by changing
the policy->min of all the online cpus to input_boost_freq.

Change-Id: Idb0ab75d68ae4ceff259cbbaaec1a9bb3bc871d3
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
cpufreq: Disable cpu-boost by default

Disable cpu-boost by default, so that it can be turned ON only by
setting the module parameter boost_ms through command prompt when
required.

Change-Id: Ia9bc280892f65ed1d2e8051d1951e51922ad13db
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
misc: update from HTC One Google Edition source

HTC kernel version: m7-3.4.10-g02c7505

Change-Id: Ib417a3a50fb198325c363e0dcb23f7bd2d7be6e0
Merge remote-tracking branch 'remotes/cm/cm-11.0' into kk-4.4

Conflicts:
	arch/arm/configs/cyanogenmod_dlx_defconfig
	drivers/cpufreq/cpu-boost.c