msm: vidc: Send resolution along with output buffer

Send the resolution along with output buffer to the client
to avoid a race condition where resolution might be changed
multiple times in driver before client requests for updated
resolution.

Change-Id: I8ebb99e3baa04da09f153195a674babcebcfea78
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
ASoC: msm: qdsp6v2: Enable gapless mode for compress playback

Gapless mode is to be enabled by default for compress playback.
Signed-off-by: Haynes Mathew George <hgeorge@codeaurora.org>
Update defconfig
arm: don't call try_to_freeze() from do_signal()

get_signal_to_deliver() will handle it itself

Change-Id: Ibe49818ca8cd514856a2294b8311f31dbd71404e
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-on: http://gerrit.pcs.mot.com/625802
Submit-Approved: Jira Key <jirakey@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Reviewed-by: Christopher Fries <c.fries@motorola.com>

Signed-off-by: Jake Weinstein <xboxlover360@gmail.com>

Conflicts:
	arch/arm/kernel/signal.c
msm: memutils: 8974: memcpy, memmove optimization

According to tune result, change preload distance to 10
cache lines for 8974.
And considering bkk-b is sharing code for 8974, 8226, 8x16,
we seperate the code for 8974 specially.

The markable improvement:
    memcpy : 67%
    copy_to_user : 37%
    copy_from_user : 37%
    memmove : 70%

Raw data is as below:

BEFORE:
	memcpy 1000MB at 5MB       : took 659744 usec, bandwidth 1515.515 MB/s
	copy_to_user 1000MB at 5MB : took 681202 usec, bandwidth 1467.467 MB/s
	copy_from_user 1000MB at 5M: took 682052 usec, bandwidth 1466.466 MB/s
	memmove 1000GB at 5MB      : took 763133 usec, bandwidth 1310.310 MB/s
	copy_to_user 1000GB at 4kB : took 714487 usec, bandwidth 1399.399 MB/s
	copy_from_user 1000GB at 4k: took 699861 usec, bandwidth 1428.428 MB/s
	copy_page 1000GB at 4kB    : took 634857 usec, bandwidth 1575.575 MB/s
	memmove 1000GB at 4kB      : took 791389 usec, bandwidth 1263.263 MB/s
	memcpy 1000MB at 5MB       : took 659744 usec, bandwidth 1515.515 MB/s

AFTER:
	memcpy 1000MB at 5MB       : took 395178 usec, bandwidth 2530.530 MB/s
	copy_to_user 1000MB at 5MB : took 497667 usec, bandwidth 2009.009 MB/s
	copy_from_user 1000MB at 5M: took 496832 usec, bandwidth 2012.012 MB/s
	memmove 1000GB at 5MB      : took 449217 usec, bandwidth 2226.226 MB/s
	copy_to_user 1000GB at 4kB : took 489006 usec, bandwidth 2044.044 MB/s
	copy_from_user 1000GB at 4k: took 483982 usec, bandwidth 2066.066 MB/s
	copy_page 1000GB at 4kB    : took 377170 usec, bandwidth 2651.651 MB/s
	memmove 1000GB at 4kB      : took 483015 usec, bandwidth 2070.070 MB/s

Change-Id: I678d418b15701efea902efae9b94490993d53f37
Signed-off-by: Hong-Mei Li <a21834@motorola.com>
Reviewed-on: http://gerrit.mot.com/634422
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Yi-Wei Zhao <gbjc64@motorola.com>
SLTApproved: Christopher Fries <c.fries@motorola.com>
Reviewed-by: John Zafiris <johnz@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
Signed-off-by: Jake Weinstein <xboxlover360@gmail.com>
Revert "Apply arch: arm: lib: optimize memcpy for cortex-A15 to memutils"

This reverts commit 76575cc316cbd59fc4d652f93f9f7b24bb672de9.
Update defconfig
deadline: update settings to match franco

Conflicts:
	block/deadline-iosched.c
msm: vidc: Send resolution along with output buffer

Send the resolution along with output buffer to the client
to avoid a race condition where resolution might be changed
multiple times in driver before client requests for updated
resolution.

Change-Id: I8ebb99e3baa04da09f153195a674babcebcfea78
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
Signed-off-by: Jake Weinstein <xboxlover360@gmail.com>
Merge remote-tracking branch 'CM/cm-11.0' into cm-11.0
dts: msm8974pro: initial Krait 8974AB overclocking

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

Conflicts:
	arch/arm/boot/dts/msm8974pro.dtsi

Conflicts:
	arch/arm/boot/dts/msm8974pro.dtsi
DTS: adjust the regulator settings to support OC

Signed-off-by: Paul Reioux <reioux@gmail.com>
dts: msm8974pro: overclocking tweak for 3.0 GHz

Signed-off-by: Paul Reioux <reioux@gmail.com>
dts: regulator update for 3.0 GHz overclocking

Signed-off-by: Paul Reioux <reioux@gmail.com>
dts: reduce OC to 2.88 GHz max

Signed-off-by: Paul Reioux <reioux@gmail.com>
Pipe
cpufreq: Avoid using global variable total_cpus

The change is to compile on kernels where cpufreq stats are compiled as
a module (CONFIG_CPU_FREQ_STAT=m), because total_cpus is not exported for
module use.

Reported-By: Emilio López <elopez93@gmail.com>
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
Change-Id: I4f3c74f0fac5e8d9449655b26bf3b407b0fe4290
Signed-off-by: Jake Weinstein <xboxlover360@gmail.com>
Initial Overclock/Voltage changes

Thanks/Credit to CPA-POKE, majority of code from his initial OC/UV.
Thanks/Credit to Faux123 for some code reference.

Signed-off-by: Jake Weinstein <xboxlover360@gmail.com>