msm: compilation fixes for gcc 4.6

These changes are required to compile successfully with
gcc version 4.6

Change-Id: Iedfde0c9d45c973588c17773508758773e5d4fab
Signed-off-by: Channagoud Kadabi <ckadabi@codeaurora.org>
video: msm: wfd: Add turbo mode support

Add support for userspace to push the video core clock to maximum
supported by hardware.

Change-Id: I47295d0fc67d32302312600a90359be23e3fc2c2
CRs-Fixed: 361108
Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>
msm: dcvs_idle: Provide CPU core idle information to msm_dcvs

The msm_dcvs algorithm takes in core idle information and outputs the
frequency for the core to run at. This driver registers with the
CPU_PM interface to get the idle enter and idle exit notification and
passes this to the msm_dcvs driver for every CPU core.

Change-Id: If5344462c8461e1501818ffeda255e4d32a2de31
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
msm: dcvs: Add 'msm-dcvs' cpufreq governor

The 'msm-dcvs' CPUFreq governor interfaces the msm_dcvs driver frequency
change requests with the CPUFreq framework.

Change-Id: I9a33eb1868cc23d84a0f65934b70580d0062e409
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
msm: defconfig: Enable MSM DVCVS for 8960 based targets

This allows DCVS to be chosen for CPU and GPU cores.

Change-Id: Id73b5e37286415e73dbf72036097038c505d540f
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
msm: cpuidle: Fix pm.h include path.

pm.h is now moved to arch/arm/mach-msm directory.

Fixes following compilation error:
mach/cpuidle.h:18:16: error: pm.h: No such file or directory

Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
(cherry picked from commit 71730cc8f3d61f16d8a977fd1151a5d159ae4621)

Change-Id: I364a9bc34a86843e31d1fbbac2a1c309a21f1a65
Signed-off-by: Zhoulu Luo <zluo@codeaurora.org>
lge: defconfig: Enable MSM DVCVS for 8960 based targets
msm: camera: Port camera v4l2 architecture to 8x60

Add V4L2 version files for vfe31 files for use in
V4L2 8x60 solution. Also, add option to use
correct platform devices for 8x60 if V4L2 flag is turned
on.

Change-Id: Ia209c2648122c13e3b4e14d4f93dae7f45f5492e
Signed-off-by: Roja Rani Yarubandi <rojay@codeaurora.org>

Conflicts:

	drivers/media/video/msm/Kconfig
	drivers/media/video/msm/Makefile
	drivers/media/video/msm/msm_mctl.c
	drivers/media/video/msm/sensors/s5k4e1_v4l2.c
msm: fix vfe stop sequence.

Fix sequence of register writes during vfe stop. The interrupts
need to be disabled before CAMIF is stopped and AXI
needs to be halted. This ensures that there are no spurious
interrupts.

Change-Id: I3a6813d6cdd2f722fd72b3654fd66fe9721310c8
Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
Signed-off-by: Roja Rani Yarubandi <rojay@codeaurora.org>
video: msm: wfd: Send signal HDMI observer to mirror on  FB2.

 - Send KOBJ_ONLINE, KOBJ_OFFLINE events to HDMI observer
   to mirror on  FB2.

This reverts commit 4102d704243cf0ff297cdbe8d5b731da4c0bb9d5.

Change-Id: Ie5f0c4528ee43edf5ff8145520723a8095c0f542
Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>
video: msm: wfd: Delay fill_buffer until START_DONE

VCD requires we do not give any output buffers to be given until
START_DONE is received. In the case that buffers are given, it
introduces race conditions in the vidc with respect to the SPS/PPS
buffer, which vidc assumes to be present on the first fill_buffer but
actually isn't present until START_DONE.

Change-Id: Ie4dec3ed41e0f248175fb7d9719b458d3b699539
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
lge: d1lsk: pil: Add pil driver for video core
lge: d1l_kr: gpu: ion: Map everything into IOMMU with 64K pages.
lge: d1l_kr: Reduce ION carveout heaps
lge: d1l_kr: Increase QSECOM ION heap to 7.5MB
lge: d1l_kr: Downloads firmware using pil_get.