msm: qdsp5: Add ION framework support for 7x27A & 8x25 targets

Modified adsp driver to support the ION memory framework
for 7x27A and 8x25 targets

Change-Id: Ie037139a5f30fcb51cdf9aeb2a290ab8be16c0ac
Signed-off-by: Saikumar Kondaparthi <saikumar@codeaurora.org>
Signed-off-by: Arvind Thatikonda <arvindt@codeaurora.org>
Signed-off-by: Atul Raut <araut@codeaurora.org>
msm: QDSP5: audio: Migrate to ION

PMEM is deprecated, switch to ION.

Change-Id: I5da6d11b6cd2d5d6d37694db10ccb7089a47b1c1
Signed-off-by: Sidipotu Ashok <sashok@codeaurora.org>
Signed-off-by: Atul Raut <araut@codeaurora.org>
msm: qdsp5: Fix for crash in mp3 driver

When resource allocation fails during mp3 playback, a crash
is observed. When such failure occurs, the driver tries to
access a handle that was never initialized. This is due
to missing flag check to determine whether there was any
memory allocation or not prior to failure. Added flag in error
cases to avoid such issues.

CRs-fixed: 394671
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
(cherry picked from commit d098938af6a47eaa6efa48b1285136de172a7709)

Change-Id: Ifd2764619f0a0ff74e7062f30b5aff8c09b2192d
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
msm: adsp: qdsp5: Allow MOD_READY event in ENABLING state

JPEGTASK is receiving MOD_READY event after it is disabled
which is not expected. When JPEGTASK enable fails with
ETIMEDOUT error, this module is disabled immediately.
But MOD_READY event for this module is sent by RPC to
Apps ADSP Driver even after it is disabled. Ignore this
event incase module state is not in ENABLING state.

CRs-fixed: 395420
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
(cherry picked from commit d8aa19223074d2470a9f4b12a472ea74a82138c0)

Change-Id: I7bd851403bd6422692da756d60427321ca3794c6
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
msm: kgsl: Print the IB causing a pagefault

If a GPU page fault occurs then store the IB information of the
of the fault and print the IB information by queueing a work item.

Change-Id: I4463305727605a65134644d22ef7f51e72740350
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
(cherry picked from commit 3e40f411dc3b67fba17e4ddcd9aff2c90bd6fbbc)
msm: kgsl: Bulk Update KGSL to jb_chocolate

Signed-off-by: RonGokhale <cips173@gmail.com>