Revert "msm: mdss: protect command mode BW votes by tracking HW/SW states."

This reverts commit 03f77edd9125b25821cc1ce3b5cf6323e6466dd8.

Change-Id: I3cdc75c46d053d040d72b42d74bb58e91604e365
Signed-off-by: Anusha Koduru <kanusha@codeaurora.org>
Revert "msm: mdss: release mdp bandwidth voting for command mode when idle"

This reverts commit 964efc22d11732daf996dd07d7c930c523200143.

Change-Id: I7c0825ef58ab1ace60a0ba958eb20fe6567f2ccf
Signed-off-by: Anusha Koduru <kanusha@codeaurora.org>
Revert "ARM: dts: Increase the ib fudge factor to 2"

This reverts commit 9c444be54c29b01e7d15decee6b3bb50a7596435.

Change-Id: I527dd245ec9d0b485da1f9a4f9b5afa9f9d4621d
Signed-off-by: Anusha Koduru <kanusha@codeaurora.org>
Revert "ARM: dts: set ab fudge factor to 1"

This reverts commit 6e3919ad99595640a059628ca96b2802907a8565.

Change-Id: I8c6710731deabd76439f2dfa70c68df059869864
Signed-off-by: Anusha Koduru <kanusha@codeaurora.org>
Revert "msm: mdss: fix issue of overlapping BW for two adjacent surfaces"

This reverts commit d8bef95ffe4ac52b029a81ab3066c2c18b7fe82d.

Change-Id: I04b8295c32f50da33d0a981246d8307a706221c3
Signed-off-by: Anusha Koduru <kanusha@codeaurora.org>
ASoC: msm: qdspv2: Fix junk characters in session name

Initialize MVM session name array to zero to avoid junk
characters at the end.

Change-Id: I441e5dbeb4052c937bb99f9c4c96a91c410db553
CRs-fixed: 702741
Signed-off-by: Karthik Reddy Katta <a_katta@codeaurora.org>
Merge "ASoC: msm: qdspv2: Fix junk characters in session name"
media: dvb: increase SDMX shared buffer size

A shared buffer is used to encode the command and response when
sending a command to TZ via qseecom interface.
To allow increasing the number of linear buffers the shared buffer
size is increased to accommodate the command data.
In addition, add checks to detect overflow of the shared buffer.

Change-Id: Ie006d20f3841aa7e8ea2e30bd6a5b211099936af
Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
Merge "media: dvb: increase SDMX shared buffer size"
Merge "Revert "msm: mdss: protect command mode BW votes by tracking HW/SW states.""
Merge "Revert "msm: mdss: release mdp bandwidth voting for command mode when idle""
Merge "Revert "ARM: dts: Increase the ib fudge factor to 2""
Merge "Revert "ARM: dts: set ab fudge factor to 1""
Merge "Revert "msm: mdss: fix issue of overlapping BW for two adjacent surfaces""
msm: vidc: Fix race condition during concurrent sessions

The core->instances list structure is guarded by
mutex core->lock, whenever a new video instance is added
or deleted from the list. However this list was accessed
from certain functions without acquiring the lock, which
resulted in race condition, causing the device to crash.
Also clean up the core locking mechanism.

Change-Id: I6f431bc381d54948611783e19fac853c83a87203
Signed-off-by: Manikanta Sivapala <msivap@codeaurora.org>
msm: mdss: Hold MDP clock Ref count in pan_display path

If handoff fails, the clock ref count becomes 0 and iommu
will get detached. In pan display path, since at that
particular instant iommu gets detached, we use physical
address. After this if iommu is again attached and physical
address is fetched, it can result in continuous IOMMU page
faults. To address this hold MDP clock ref count
in pan display path.

Change-Id: I2370b276acdced2cf22083eb80fcad1b2e454315
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
ASoC: msm-lsm-client: handle close gracefully

The listen pcm device could get closed abruptly due to userspace
application crash. In such cases, the device close will be invoked
abruptly. Handle this scenario gracefully by properly cleaning up the
driver before close.

Change-Id: Ie841f300400d547260da92383712a9aa0689d7a7
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
msm: vidc: Disable clock gating feature

Clock gating between inter frames when video hardware
is in IDLE state is not giving any power savings and
at the same time this feature is resulting in few
stability issues. So disabling clock gating feature.

Change-Id: I3d1d4521ec3ee2fbd25d80b33bd5c531a25d9034
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
Merge "msm: vidc: Fix race condition during concurrent sessions"
Merge "msm: vidc: Disable clock gating feature"