msm: kgsl: Add cache flush for A20x

Adding extra cache flush command to make sure that CP block
gets event from RB all the time to avoid race conditions because of
clock switches. this is to improve stability on 8x25 target.

(cherry picked from commit f4537cf8dd50a78d78ab1664d623c9b6ecf3f240)

CRs-fixed: 408400
Signed-off-by: Gopal Goberu <ggober@codeaurora.org>
(cherry picked from commit 90e691013b1a27c60bb837b72b1205b8554418ec)

Change-Id: Ia2af451c126b34b1170e351924e5ca37f2219364
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
Merge "msm: kgsl: Add cache flush for A20x"
rpc_pmapp: Do not set endpoint variable to NULL

The endpoint varaible is being set to NULL on recieving an error
response in a RPC Call. Due to this RPC client tries to re-register
with the server and causing a memory leak in SMEM. Hence do not set
the Endpoint variable to null on an error response.

CRs-Fixed: 435094
Change-Id: I3bbc5aa3626c5f74173525800372a8ff4fed062b
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Merge "rpc_pmapp: Do not set endpoint variable to NULL"
Update copyright to The Linux Foundation

Change-Id: I11c4379c2f1417179ae66117a1d9c3f9084bbe99
Signed-off-by: Duy Truong <dtruong@codeaurora.org>
msm: audio: qdsp5: Add support of dynamic re-enable of post proc

DSP can disable the post processing features due to unavailability
of MIPS during video playback. As a result difference in audio
quality is observed after video playback. Add support to re-enable
the post processing features once video playback ends and MIPS are
available.
DSP sends a message whenever post processing features are disabled
due to unavailability of MIPS and sends another message once the
MIPS are available. AUDPP driver broadcasts these messages to all
the relavant clients which keeps track of disabled features and
re-enables them when re-enable message is received from DSP.

Change-Id: Ic4cad4e7b0afe4377006055417ba193b01cce930
Signed-off-by: Sriranjan Srikantam <cssrika@codeaurora.org>