GPU: Correctly update Adreno/KGSL drivers to jb-chocolote.

Change-Id: If9c8e2ff366acc3e6c08e6342f67d32c37a43984
Revert "Update HTC baterry driver" - seems to cuase battery drain

This reverts commit dea22d84878ef3e11ed9e7ee40dda070274a9bd8.
vidc: updated headers

Change-Id: I853f9dc3c5e2c28a441367ec0f044dc317ba9930
GPU: update genlock to jb-chocolote

For use with new display and media repos

Change-Id: Ibf0eb4f9dbdfa37081af24b9e1fd3accc3ffce4e
Defer sweep2wake changes till screen is resumed.
Idea taken from some Atmel implementation tho I've lost URI there :(
Always enable IRQ when resuming display.
This should fix all the touchscreen freezes.
Linux 3.0.73

Change-Id: Ia112926db53a2053993bf4ef0ff715c8b995c0f9
Revert "cpufreq: import updated ondemand from ChronicKernel/Bruce's kernel"

Not 100& that the governor from pyramid was newer, reverting to original for now

This reverts commit 23c5e45c3f007f47cd099ecd8dfb92ae227ba981.

Change-Id: Ie622bb1be1f7ab18926bc989c60f6299371a127d
Re-Apply "Update HTC baterry driver"

Battery drain reports were a little pre-mature

This reverts commit 866c0153335b4eb043aee094d8d25d94b41d6328.
shooter: reduce default clock speed
msm: rotator: Partial update to jb_chocolate
msm_fb: Make buffers aligned to 4K page boundary

This change makes the frame buffers aligned to the page
boundary. Improves GPU performance since accessing the
frame buffer from page boundary is faster.

Change-Id: I17879437dd7cbb9a1758d82321c6e68dbd88b9e0
CRs-Fixed: 325134
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
msm_fb: Clean up of frame buffer 4KB alignment changes

Remove redundant code from the 4 KB alignment patch
and reduce the overhead of calculation of the hole
size by using bitwise operators in its calculation.

Change-Id: I1706484249bf8e01b250e91fa87e00f6021d9a72
CRs-fixed: 325134
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
msm_fb: display: Fix invalid x offset programming for YUV444 fmt

Source x offset adjustment is not properly programmed for YUV444 format,
it is always programmed as 0. Add support for correct x offset
adjustment.

Change-Id: I73e87f961bda60670cc764c66be955e48ccf2734
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
video: msm: Load correct default values to QSEED at init

The previous QSEED Table 1 values are not suitable values (would end up
smoothing and sharpening content which can lead to artifacts).

The values loaded by this patch are the suggested default values for QSEED
since they do not smooth or sharpen most content (bi-cubic filter), but
will slightly smooth low frequency components of the image (i.e. helps
reduce artifacts that produce sharp edges on content that is supposed to
be a constant color; often introduced by some video encoding algorithms).

CRS-Fixed: 338131
Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
(cherry picked from commit d89c0e7712dd5cf13769b4d0facfecb93028538c)

Change-Id: I3b65661c69402c23f4322366aa4f12e66d661b86
Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
msm_fb: display: Assign proper destination rectangles to mdp blit

Add check for (90 + Flip Horizontal) and Flip Vertical cases to assign
proper destination rectangle parameters to avoid corrupted frame
buffer content.

CRs-Fixed: 344807
Change-Id: I7e7b0b8d26f08f63a6f9c55eedd37f31cf0348d7
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
(cherry picked from commit 07c82d6ca63c6be28ab897fdb3ccfc1a448c342f)
msm_fb: Fix error in y-offset check logic in FB driver

After 4 KB alignment changes, the frame from 3rd buffer doesn't
get updated since during PUT_VSCREEN_INFO ioctl, the driver
returns -1 to userspace due to error in logic because the hole
size is not considered in calculating the logic for validity of
the y-offset. Change fixes this error.

CRs-fixed: 325134
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
(cherry picked from commit d37b52404236bf4cadf530a238cafc5d6499d32a)

Change-Id: Ifccfa25a37fe0f8d86bf5b822d9affe7fa41203a
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
msm_fb: Clean up the fix for error in y-offset check in FB driver

There is a failure observed in yres_virtual offset check and every
third frame gets skipped without an error message. Due to this high
fps is noticed in the test applications. Correct the yres_virtual
offset check.

CRs-fixed: 325134
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
(cherry picked from commit 2bd101d5bed1729b317114456360605e86289c15)

Change-Id: I35af570df2d6d2609562203f30f3caa1506b9b1d
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
kconfig: fix set but not used variables

Some variables were being set but never used, which was triggering
warnings in GCC >= 4.6.

Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
pyramid: merge shooter graphics options with pyramid

Change-Id: I09a8d79ec125be1ffa5d37915489d3e5bed7966a