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
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)
msm: vidc: Fix buffer pool index

While searching for the available buffer entry
in the buffer pool the search should begin from
index 1 as zeroth entry is reserved.

CRs-fixed: 366361
Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>
(cherry picked from commit 8c7e367a5ccd1c78c728657a14f08d6956b72e50)

Change-Id: I30f19753d46d2d1db32e949712926e5374d14763
Signed-off-by: Sridhar Gujje <sgujje@codeaurora.org>
msm7x30-common: add support for ion

Change-Id: I81714fc4f6447a4c92fd676fc438ca5265efb07e
msm7x30: update configs

 * do not enable ion though

Change-Id: I701ca92f35aab283d636a52c0c45949fa3cfd8fb
Merge remote-tracking branch 'ev/kitkat' into cm-11.0