msm/vidc: bulk update from mako

Change-Id: Iab39bed7f8e207399d0f6cb8de4c966443a28709
gpu/msm: bulk update kgsl from mako

Change-Id: Ic81558ae82ae50506ac35fdc51290259dfedf4ef

Conflicts:

	drivers/gpu/msm/adreno_drawctxt.c
	drivers/gpu/msm/kgsl.c
	drivers/gpu/msm/kgsl_mmu.h
msm: kgsl: Move the pdata structure from the public API header

The pdata structure and associated structs have no business being
in msm_kgsl.h.  Move them to include/mach/kgsl.h where they can
thrive in a non-userspace facing environment.

Change-Id: Ic0dedbadfe0d3d7d44f50c8a9a7f4cc59057d44b
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
msm: kgsl: Move SOC based chip ID to the board files

Move almost all of the SOC based GPU identification code out
of the KGSL driver and into the board files.  This cleans up
the GPU side and reduces our usage of the cpu_is and machine_is
macros.

Change-Id: Ic0dedbad34eb034316b7baabf05aa7f8e8aa9ced
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>

Conflicts:

	arch/arm/mach-msm/board-8930-gpu.c
msm: board-8930: Configure GPU turbo clock for msm8930 HW varients.

As per msm8930 HW varients, default GPU turbo clock is 400MHz used for
msm8930,msm8627 and 450MHz for msm8930aa.

CRs-Fixed: 375984
Change-Id: I0e971079ce4d2f2a9c65d6b8449ef201124536af
Signed-off-by: Sudhakara Rao Tentu <srtentu@codeaurora.org>
msm: kgsl: Enable GDHS of GPU power rail while the screen is on

Turn on the feature which allows SLUMBER in place of SLEEP for targets
with low latency GPU power rail bring-up.

CRs-Fixed: 369927
Change-Id: I3c2bf2049a6b7670da7c2e5ec4cde3cf66642c9b
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
base: genlock: handle error while creating lock/handle inode

A lock/handle inode is required in order to successfully create a
new lock/handle. Failure to report the lock/handle inode error can
result in errors for subsequent function calls.

Change-Id: I622af24e695f4781c4dbf46363931a7da09df677
Signed-off-by: Jeff Boody <jboody@codeaurora.org>
sw_sync: convert to new value_str debug ops

Change-Id: I9bad0cac1198043e04637641feb8112e2e7a9d11
Signed-off-by: Erik Gilling <konkers@android.com>
ion: bulk update from mako

Change-Id: I57035a880c7209387bcf2fe270545bfbc6f4abf2
Revert "fix fb header"

This reverts commit ba76509e383ef2efe7ea5797675abe63afe0761e.
msm: mdp: Fix reserved field usage

An earlier commit(ec5b2f)increased the number of reserved fields
in the kernel standard fb.h header changing the struct size.
This caused issues with userland applications using the corresponding
bionic header. This patch revert the earlier increas in size
and makes corresponding adjustments to the reserved field usage.
A follow up patch will remove usage of reserved fields entirely.

Change-Id: Ida5662de9584372227fe3421db4911f3fd875a1d
msm: Rename pmem variables and macros

Since MSM no longer uses PMEM, the variables, macros, and kernel
config (CONFIG_KERNEL_PMEM_EBI_REGION) relating to PMEM should be
renamed to something more generic.

Change-Id: I4ca909098c96317853d4f040850b63f37db4811e
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
staging: import prima v3.1.7.16 as legacy

Change-Id: Ie3a7548a087ff122389a410232269a6098b6eb6d
AU_LINUX_ANDROID_JB_REL.04.01.01.02.039

Change-Id: Ibdf6cfb8b460f4f8cc7ade722be320359d240d03
AU_LINUX_ANDROID_JB_REL_RB4.04.01.02.16.074

Change-Id: Ie8989191702455ffcd0e34af0816c8ef528e8947
Revert "USB: android: Avoid re-enabling the same configuration"

It broke "adb root"

This reverts commit d9b1897713919ad89b724f751bc2c722bf4b73ce.

Change-Id: I6596f26d58cc0a0bb3ead26fbf922cec8d0f89e0
msm:vidc: Add the support for MPEG-2 extension and user data

Support is added for MPEG-2 extension and user data. With this
changes Core returns extension and user data as an extradata.

Change-Id: Icdb9da359d90799391b5b9751df2e735ff93475e
Signed-off-by: Shobhit Pandey <cshopan@codeaurora.org>
block: Adding ROW scheduling algorithm

This patch adds the implementation of a new scheduling algorithm - ROW.
The policy of this algorithm is to prioritize READ requests over WRITE
as much as possible without starving the WRITE requests.

Change-Id: I4ed52ea21d43b0e7c0769b2599779a3d3869c519
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
block: ROW: Correct minimum values of ROW tunable parameters

The ROW scheduling algorithm exposes several tunable parameters.
This patch updates the minimum allowed values for those parameters.

Change-Id: I5ec19d54b694e2e83ad5376bd99cc91f084967f5
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
block: ROW: Fix forced dispatch

This patch fixes forced dispatch in the ROW scheduling algorithm.
When the dispatch function is called with the forced flag on, we
can't delay the dispatch of the requests that are in scheduler queues.
Thus, when dispatch is called with forced turned on, we need to cancel
idling, or not to idle at all.

Change-Id: I3aa0da33ad7b59c0731c696f1392b48525b52ddc
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>