msm: debug_patch: CLOSE SERVER HANG

Change-Id: Iec1f8aabbc97b4f9ad53e58f1189fd8dab79559a
Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
diag: Fix problem with stopping of logging data

On-Device Logging at very high logging rates can cause
a race condition where the buffers reading in data from
the smd channel are filled with data and are not having
their data logged to userspace.  Detect this condition
and restart the logging process.

CRs-Fixed: 382128
Change-Id: I3bb4cfae1bd72d2575c32e800973fac558beae7c
Signed-off-by: Dixon Peterson <dixonp@codeaurora.org>
(cherry picked from commit 743a11e7821c5118e1dc0eb035b1efb94fccb994)
gpu: ion: Reference count protect/unprotect calls

Reference count the calls to ion_{un}secure_heap. The secure SCM
call will only be made when the count goes from 0 -> 1 and the
unsecure call will only be made when the count goes from 1 -> 0.

Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
(cherry picked from commit f68983eaa0b7b9eb2bb35937e799a43fab5442d5)

Change-Id: I8c24f90ce71481c6b0c5079a3c02c44a120bb376
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
msm8660: Enable Memory Compaction.

Use memory compaction for reducing external memory fragmentation.

Signed-off-by: Prachee Ramsinghani <pracheer@codeaurora.org>
(cherry picked from commit 0e5c35342ea52f8622d6d16848772acac87678d5)

Change-Id: I18852eb553838a78be4bd80f8550f894413cd38f
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
msm8x55 initial bringup on JB_Choc

Change-Id: Ia396e40135ae3e557c87016cf43c06ff894540b1
Signed-off-by: Srikrishna Mc <skmc@codeaurora.org>
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
radio-tavarua: Send disable event

Send disable event when FM turn off is completed
so that file descriptor can be released safely

(cherry picked from commit 0fa19849354c41e3ac89ec0b6b3bb411cb69b908)

CRs-Fixed: 339470
Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>
(cherry picked from commit d1aead93cddbb53f24f6468185f7c26290b4ffc6)

Change-Id: Ib95580f8cac3cc4c752248932e47c44d82c0e2c5
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
radio: iris: Send proper event to FM frameworks

Send enable, disable event to fm frameworks
when FM TX is turend on/off respectively

(cherry picked from commit 3dad6519412c1de30c8905683047f51a89fd377b)

CRs-fixed: 339470
Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>
(cherry picked from commit a9d52055cb0c44b0ffade2d6c8e09c9270960d66)

Change-Id: Icb67cf5455a181c3a0d5f55ebbb33e0ce3df3df5
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
radio: iris: Add calibration mode

Do not queue the FM enabled/disabled events
while calibration is in progress

CRs-fixed: 358229
Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>
(cherry picked from commit c1e6a95c31cc474f809bb7ab3c036e8890be7709)

Conflicts:

	drivers/media/radio/radio-iris.c

Change-Id: I1c6c6e6546dae4ad415473e50dc902e1c732a12f
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
board-msm7x30: correct the voltage range request for ldo20

At boot up, mddi interface is initialized first and if the mddi
panel client is not detected, LCDC panel will be initialized.
While mddi panel is initialized, ldo20 has request for 1.8v in
both min and max and lcdc panel requires 1.5v only. Hence the
target is not booting up as the currently (LCDC) requested range
is not in the previously requsted voltage levels.

Correcting the voltage range for mddi panel will fix the issue
for LCDC

Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
(cherry picked from commit 9624b74fa451ad2c3cc814da8e2c3eda7391e9f3)

Change-Id: Ie46e985fad1e64db5756a13745f48ba8b5600eb5
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
msm_fb : Avoid trying to acquire an already acquired mutex

MDP driver for LCDC is trying to acquire the same mutex after
acquiring it already. This is causing boot up issues on devices
using LCDC interface. This change avoids the problem.

Signed-off-by: Pradeep Jilagam <pjilagam@codeaurora.org>
(cherry picked from commit 06abe49ea4b91ea64c8f1e738756e43e0e6a8662)

Change-Id: I0ce0e6d9414d3eb5e3e5c0e4883a39da655922d3
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
msm: board-7630: Add ION board support

Add ION support to 7630 and deprecate PMEM by overriding

Change-Id: Ia616427b9eb84e38f44217352795b4a1012b1b88
Signed-off-by: Srikrishna Mc <skmc@codeaurora.org>
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
msm: 7630_defconfig: Enable ION

Enable ION on 7630 target

Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
(cherry picked from commit 2e6de3f78362c7b728de643bde5c202e6018d5e1)

Change-Id: Id9003e78caef38bfcc22b41825b4761b209225ed
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
input: msm_ts: Set input property bit to indicate direct input device

Prop bit is checked in userspace and must be set in driver in order
to be recognized as a direct input device (touchscreen).

Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
(cherry picked from commit 3aaf03e26ac0c5422783e296c7ab05dd5d75f8a4)

Change-Id: Id7f0c28c6ab9ee40c83736a96515462819347d9c
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
Merge "board-msm7x30: correct the voltage range request for ldo20" into jb_chocolate
Merge "radio: iris: Add calibration mode" into jb_chocolate
Merge "msm: 7630_defconfig: Enable ION" into jb_chocolate
Merge "input: msm_ts: Set input property bit to indicate direct input device" into jb_chocolate
msm_fb: HDMI: Support VCDB parsing of EDID data

This change enhances the EDID parser to read the
Video Capability Data Block (VCDB) in order to check
whether a sink supports underscan mode.

CRs-fixed: 388272
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
(cherry picked from commit 5066a5f662d0d88ad4c94158fe392bb0fbd61cb4)

Change-Id: I0789bd069228373a1a9ff7177a2528e60c31fdad
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
msm_fb: HDMI: Enable SPD InfoFrame transmission

Sinks use the information in the SPD InfoFrame to get
the vendor name and the product information of the source
device. This change adds the ability to specify this
information and transmit the data as part of the SPD
InfoFrame.

CRs-fixed: 388272
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
(cherry picked from commit fff7a7d207a8791a68706bf8fac3838884981204)

Change-Id: I898473018d446e70cb821a5fc65ce55efb11f379
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>
msm_fb: HDMI: Enhance EDID parser to read physical address

This change adds the support for reading the physical address
field in Vendor Specific Data Block (VSDB) of the EDID data of
a sink.

CRs-fixed: 388272
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
(cherry picked from commit 226b429d026195ff93b7de8066d8943b58dc65a5)

Change-Id: If421d4c90e57e09e424a93ea15b9da9ea6df7217
Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>