scm: Fix building with newer binutils
msm: kgsl: Fix clock names for 2.6.35
msm: mmc: Fix annoying warning in mmc

Do not trigger LGE's suspend for wifi if the module isn't loaded
msm: kgsl: Properly fix building without MSM_IOMMU
msm: rotator: Add YV12 support in the Rotator

Added changes to support YV12 input format in the Rotator.
Output will be Pseudoplanar in this case.

Change-Id: Ic77ad2b6a3aaa66ad923494fb6c96e07738d674b
Signed-off-by: Pradeep Jilagam <pjilagam@codeaurora.org>
msm: rotator: add check for buffers boundaries

check that offset is within the range of buffer to avoid possible
access to other memory regions.

Change-Id: I37f49b0c95cc9bf79a09c7b0fa04f1135b691a5d
CRs-Fixed: 308058
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
msm: rotator: add downscale support in rotator

Rotator is capable of performing 1/2, 1/4 and 1/8 down scaling. Add
downscale_ratio parameter to provide support for this feature.

CRs-Fixed: 315874
Change-Id: I57dc3456ccc9bec2a125750b3e9909ffcbaf45f6
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
msm: rotator: Fix rotator YCrCb planar formats unexpected output

Rotator expects planar input in YCbCr order, wrong color can be seen
on ouput image when given YCrCb because the chromninance planes picked
are not correct. Swap Cb and Cr plane addresses to output correct image.

Change-Id: Ia05ab704d18da4aac49e63fb805c40a95ea51a33
CRs-Fixed: 327956
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>

Conflicts:

	drivers/char/msm_rotator.c
msm: rotator: Add pseudo-planar output for interleaved format.

Rotator gives pseudo-planar H2V1 output for interleaved
H2V1 input format.

Change-Id: I2a7af3243dfb1175ea14d6649b4cec87029fec38
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
(cherry picked from commit 732dcd668ffa9c2160fca0c34d21107be7a37cda)
msm_fb: display: replace task_tgid_nr with current->pid

rotator session is not be shared by threads with same parent.
Therefore repalce task_tgid_nr(current) with current->pid.

Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
msm_rotator: Fix compilation error when CONFIG_FB undefined

Change-Id: Ib850b05e9daa0d44c0a176422678fe6368b38c2e
Signed-off-by: Rajesh Sastrula <vrajesh@codeaurora.org>
msm: rotator: ion support in rotator driver

Add support for ion memory heaps in the rotator
driver

Change-Id: Id844050871e4aaa7fa0e0fc9d69646d6d9875b85
Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>

Conflicts:

	drivers/char/msm_rotator.c
msm_fb: display: fix incorrect MDP formats components unpack pattern

Many of MDP input formats don't have correct unpack pattern, so image
displayed on screen is not in the actual format set.

CRs-fixed: 339114,337040
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
(cherry picked from commit c5638f898324df37e40e402d208b0e97337d536b)

Change-Id: I66a404db039502d0511cd3d7dc34e81c0eca1d61
Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Updated vidc/camera headers for compatibility with current userspace
iprj: Adjust pmem allocations again
msm_fb: display: Use spinlock instead of mutex in vsync timer handler

Use spinlock instead of mutex in vsync timer handler to avoid sleeping
from timer context through mutex locks

Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
msm_fb: display: Use __va instead of ioremap for framebuffer memory map

Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
msm_fb: display: Add YV12 support in the MDP

Added changes to support YV12 input format in the MDP.

Change-Id: Id8344af1a1607cbf4a6c01ad35441bbdd4fcbd49
Signed-off-by: Pradeep Jilagam <pjilagam@codeaurora.org>

Conflicts:

	drivers/video/msm/mdp4_overlay.c
msm_fb: display: enable mdp chip select controller

Enable mdp chip select controller so that CS signal is
asserted or de-asserted by MDP according to activities
of memory access on both read and write to save power.

Change-Id: Ic0acc1c8cbe06c5f3cf25627af209abadeb1350c
Signed-off-by: kuogee hsieh <khsieh@codeaurora.org>
msm_fb: display: fix underrun seen with big src coordinates

MDP underrun happens if combination of x + w or y + h exceeds 2048.
To handle such use cases add an offset to the source address instead.

Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
(cherry picked from commit fa559f6cb6c9a75beb48b594f952ccfe213c4234)

Conflicts:

	drivers/video/msm/mdp4_overlay.c

Change-Id: Iadabd66f4759a877236d1b7384135ff79b998fee
Signed-off-by: Zhoulu Luo <zluo@codeaurora.org>
Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>