msm7x30: switch over to caf memory allocation

Change-Id: I6c425f6d55d6ec33d86456243fa23d46cd9d72c7
msm7x30: switch to ebi0

Change-Id: Idd7d236897a5aba997c859732ba05581ab8f3adb
qdsp5v2: PCM also changed to EBI0 for the Recorder
msm: qdsp5v2: Update encoder drivers to use pmem memory

Updated encoder drivers to allocate memory from pmem memory
pool(EBI0) region

Change-Id: Ied09f62ef3b671ab7f1ee08255a996f0fc95cbc5
CRs-fixed: 278771
Signed-off-by: Rajesha Kini <rkini@codeaurora.org>

msm: qdsp5v2: Update pcm playback driver to use pmem memory

Updated pcm out driver to allocate memory from pmem memory pool(EBI0)
region

Change-Id: I4c193f2cd7483ee505bdaed7d3dff7536ff5217e
CRs-fixed: 278771
Signed-off-by: Rajesha Kini <rkini@codeaurora.org>
devices-msm7x30: use ebi0 for vidc

Change-Id: Ib82573156a9ee12f5a252fc018374cd2e308443d
ion: update to jb_mr1_chocolate

Change-Id: I3094f60c358f1528cb833d77e6b0c913f7e1a281
iommu: update header to jb_mr1_chocolate

Change-Id: I79414bee32a17f558dcc9a36fa0f75d4e5beb76f
msm: kgsl: Add support for Android's sync point

The Android sync point framework will replace the synchronization
previously implemented by genlock. This change implements the KGSL
component of the sync point framework by creating a fence that is
automatically signaled by KGSL when it's timestamp expires. The
fence FD is returned to the user driver so that another process
can wait for the sync point.

Change-Id: Ifee38dfde00e551f3524f7a37833938dcdb64905
Signed-off-by: Jeff Boody <jboody@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
msm: kgsl: implement sync compare callback

The compare callback is required to test the order that
sync pts will signal. Failing to implement the compare
callback results in kernel panics for some use cases.

Change-Id: Ibea1497c12fd8cc66087ff52d3709a07793f215f
Signed-off-by: Jeff Boody <jboody@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
(cherry picked from commit b44e3b4fb92810703ad296a5c9f829c5f86ffe4a)
Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>
msm: kgsl: Prevent missing servicing of events waiting on timestamps

Prevent instances where we miss servicing an event which was waiting
on a timestamp. We do this by looping in the events list, until
we finish servicing all the members of the list, and if we come across
an event which has not been serviced yet, we write a dummy interrupt to
the ringbuffer so that we don't miss when that timestamp's work is done.

Change-Id: Ib7b3554efa0d9a8bdc20d1722d912977f72f3ed5
Signed-off-by: Harsh Vardhan Dwivedi <hdwivedi@codeaurora.org>
msm: kgsl: initialize kgsl_sync_timeline_ops properly

Signed-off-by: Iliyan Malchev <malchev@google.com>
includes: add/export msm_ion.h

Change-Id: Idc314ef6d6e2fee11036360e5375e37d60d80dfe
msm_mdp: update header from jb_mr1_chocolate

Change-Id: I54217668e389e787ef9d521b8ee29187f5c1437b
glacier: add support for ion

Change-Id: Id1af891a40991d0621abdff68bed0cc1d7d2d238
msm: vidc: Add support for ION memory on 8x55 target

This commit will add support for ION memory on
8x55 target for video encoder and decoder.

CRs-fixed: 380463
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
(cherry picked from commit 22d1abd7eec3bdba91f31fe3d8a1ea86d35e8568)

Change-Id: I9263dfd99d490508013758c30fd22606a25d4fc6
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
msm:vidc: Amend error checks on ION API failures

This change will validate the ION API failures
to fix target freeze issues.

CRs-fixed: 412958
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
(cherry picked from commit 31bb7dc8e3a4d01262727349b30bb3007fd474bd)

Conflicts:

	drivers/video/msm/vidc/720p/ddl/vcd_ddl_utils.c
	drivers/video/msm/vidc/common/vcd/vcd_sub.c

Change-Id: I6d0dc8afef6ba1513c2ea29753f7df6b1a3d70e9
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
msm: vidc: Avoid memset of list elements in the buffer entry.

- Due to race condition between free buffer and flush output buffers,
  invalid buffer is getting accessed sometimes.
- Reset all the members in buffer entry except list elements.

Change-Id: Ia2a3bc4343fc557a6e6d7d9ad93a29a7ab3dfb81
CRs-Fixed: 411197
Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>
(cherry picked from commit 8105df366cf6b9f1ddbc15d561fb6a5f12540416)
board.h: add missing vidc definitions

Change-Id: I4983940b2002517c62771dba7899356dbfcba607
glacier-panel: fix missing definition

Change-Id: Icec991e5077aa780ba117f593e326f27737cc2d9