Commit graph

598021 commits

Author SHA1 Message Date
Cong Tang
53a51106b5 ASoC: msm: Upgrade ASM Driver to support 32 Channels
HLOS update ASM driver to support 32 channels playback
and capture since ADSP firmware has already support on this.
With this each MultiMedia Frontend would be able to support
32 channels playback and capture.

Signed-off-by: Cong Tang <congt@codeaurora.org>
Change-Id: Ie2ada37e612d0096cb623777f43aa9c05989058d
2018-03-20 22:36:40 -07:00
Cong Tang
82c2a635bd ASoC: msm: Upgrade ADM Driver to support 32 Channels
HLOS update adm driver to support ADM_CMD_OPEN_V8 for 32 channels
playback and capture capability. The endpoint payload of this
cmd should be the real channel mapping length and aligned with
four bytes.

Change-Id: I943259108becdfd27a68ce597bee37641cfc8339
Signed-off-by: Cong Tang <congt@codeaurora.org>
2018-03-20 22:35:14 -07:00
Linux Build Service Account
bb9c0e0ec8 Merge "diag: Protect the decrement of number of diag clients" 2018-03-20 08:36:14 -07:00
Linux Build Service Account
8fbab95a99 Merge "ARM: dts: msm: set ION type to SYSTEM for msm8996 telematics" 2018-03-20 08:36:13 -07:00
Linux Build Service Account
1a92d1310c Merge "ASoC: msm: Fix adding channel mixer control failure issue" 2018-03-20 08:36:11 -07:00
Linux Build Service Account
8e181ea4e8 Merge "ion: ensure valid start address" 2018-03-19 18:03:29 -07:00
Linux Build Service Account
7ac7fb2eca Merge "ARM: dts: msm: Update GPU chipid for SDM636" 2018-03-19 18:03:28 -07:00
Linux Build Service Account
30160a82d3 Merge "defconfig: msm-auto: Add qti can driver support" 2018-03-19 18:03:23 -07:00
Linux Build Service Account
675ca2f48b Merge "ARM: dts: msm: Add DT changes for QTI CAN driver for MSM8996" 2018-03-19 18:03:22 -07:00
Linux Build Service Account
fd46324f9e Merge "msm: ais: isp: Handling buffer use after getting it freed" 2018-03-19 18:03:21 -07:00
Sreelakshmi Gownipalli
6eb2f4f6fd diag: Protect the decrement of number of diag clients
In diagchar_open() protect the decrement of number of diag clients
so that there will be no race conditions while reading the value
from other functions.

Change-Id: I0e2fb5331eec9c7bba39e7d881b69559256833a3
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
2018-03-19 13:09:25 -07:00
Pratap Nirujogi
2503a05f0d ion: ensure valid start address
Ensure valid start address to check for vaddress
bounds.

Change-Id: I02c0ce85d9a495880c133e66553b09159daa8f0c
Signed-off-by: Pratap Nirujogi <pratapn@codeaurora.org>
2018-03-19 06:40:03 -07:00
Linux Build Service Account
d99718532d Merge "scsi: ufs: Fix compilation error in ufs cmd logging" 2018-03-19 03:35:44 -07:00
Linux Build Service Account
3c763dc33a Merge "msm: camera: isp: Fix freeze of preview stream during CDS" 2018-03-19 03:35:42 -07:00
Linux Build Service Account
fc187e817f Merge "drm/msm/sde: store mdss irq status in case of irq storm" 2018-03-19 03:35:38 -07:00
Linux Build Service Account
0cf11fbe38 Merge "drm/msm/sde: take irq callback lock before reading cb list" 2018-03-19 03:35:36 -07:00
Linux Build Service Account
af36d13ab9 Merge "drm: smmu: fix smmu map failure" 2018-03-19 03:35:35 -07:00
Hareesh Gundu
18909deea1 ARM: dts: msm: Update GPU chipid for SDM636
The SDM636 GPU is similar to SDM660 but different
because of GPU clock plan. Update SDM636 GPU ID to
A509 so that we can handle it.

Change-Id: I8ed4403a5a11b5cb92827716d8f1e9655403c8bf
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2018-03-19 15:39:42 +05:30
Yimin Peng
b1b7087784 ARM: dts: msm: set ION type to SYSTEM for msm8996 telematics
Switch ION type from CARVEOUT to SYSTEM for audio function.

Change-Id: Ida2ccb7d1dbe1a037f305fe749ca3bc0a8dd51b2
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
2018-03-19 11:06:46 +08:00
Srikanth Uyyala
4c2c53834f msm: camera: isp: Fix freeze of preview stream during CDS
Remove check of axi_cfg_update to allow stream update.

Change-Id: I4010e27a8dd136eecc2880d5eb13d97e4d0ea46e
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
2018-03-18 03:36:35 -07:00
Linux Build Service Account
0d8bfae571 Merge "msm: mdss: serialize wait for pingpong with kickoff" 2018-03-17 03:13:28 -07:00
Linux Build Service Account
9d0097e58a Merge "adv7481: Fix CVBS input resolution." 2018-03-17 03:13:27 -07:00
Linux Build Service Account
bd37ebb718 Merge "ASoC: sdm660: fix clock refcount for MI2S shutdown" 2018-03-17 03:13:25 -07:00
Linux Build Service Account
e0388e13d9 Merge "drivers: qcom: lpm-stats: Fix undefined access error" 2018-03-17 03:13:24 -07:00
Linux Build Service Account
867606ecc2 Merge "soc: qcom: hab: add some pchans for BufferQ and FDE" 2018-03-17 03:13:22 -07:00
Linux Build Service Account
34a1c994c2 Merge "ARM: dts: msm: change early camera on msm8996 agave" 2018-03-17 03:13:21 -07:00
Linux Build Service Account
6aaef91265 Merge "msm: kgsl: Add support for A509 GPU" 2018-03-17 03:13:18 -07:00
Lloyd Atkinson
c9b913882d drm/msm/sde: store mdss irq status in case of irq storm
Store the last MDSS IRQ status value to help identify the source
of any erroneous IRQs that might cause an IRQ storm. Also, check
return codes on IRQ mapping or handling and report any unhandled
IRQs to the IRQ system.

Change-Id: I585c97c01736216556eb389bda79548c1fda2b64
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
2018-03-16 17:26:58 -07:00
Lloyd Atkinson
3c6964a08c drm/msm/sde: take irq callback lock before reading cb list
Take the callback spinlock before checking whether the callback
table list is empty. This resolves a race condition where the
callback list could be empty during the servicing of an
interrupt.

Change-Id: I8d59c0211526173ce98c8ca2dac36ec4743dc8f8
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2018-03-16 17:26:21 -07:00
Lakshmi Narayana Kalavala
1f9861ad38 drm/msm: limit sde_dbg_dump output to current entries
Update the sde_dbg_dump function to only dump event log
entries up to the time the dump is initiated, and increase
the number of recorded event log entries.

This places a limit on the total number of entries that are
output to the dmesg log even if more entries would have been
added while the dump is executing (e.g., interrupt events),
while still allowing the extra events to be recorded properly.

Change-Id: I66f850d21a2d0217f9049facffce074831b7e17d
Signed-off-by: Clarence Ip <cip@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2018-03-16 17:25:34 -07:00
Lakshmi Narayana Kalavala
89ddcc12a1 drm/msm: add input sanitization on debug dump debugfs
Add checks to debugfs input parameters in sde debug dump debugfs
entries.

Change-Id: Iea170b75c1eb9aa46366662d36e677cb3251830b
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2018-03-16 17:24:54 -07:00
Lakshmi Narayana Kalavala
ac94b019c3 drm/msm/sde: add debugfs nodes for underruns debug
This change adds debugfs nodes for debugging underruns,
after this change following commands are supported:
1. To enable the underrun ftrace:
	echo 1 > /d/tracing/events/sde/sde_encoder_underrun/enable
2. To enable feature that disables the ftraces once the
	underrun happens:
	echo 1 > /d/dri/0/debug/dbg_ctrl
3. To enable the panic in the device when underrun happens:
	echo 2 > /d/dri/0/debug/dbg_ctrl
4. To enable both of the above options:
	echo 3 > /d/dri/0/debug/dbg_ctrl

Change-Id: Id9f407edb0908a5f8454f08d63c356dc8f04d353
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2018-03-16 17:23:52 -07:00
Linux Build Service Account
7b28bab476 Merge "ais: sync clk status and tasklet" 2018-03-16 15:34:20 -07:00
Balachandra C S
f7eceb3ec0 defconfig: msm-auto: Add qti can driver support
Enable qti can driver support in msm-auto_defconfg and
msm-auto-perf_defconfig.

Change-Id: I9a88bb345c9ebf3dac49cfef9e46ff7f736d979c
Signed-off-by: Balachandra C S <balacs@codeaurora.org>
2018-03-16 19:05:58 +05:30
Balachandra C S
01965dc24a Modify k61 driver to remove support for mpc5746c CAN card
mpc5746c CAN driver will be supported by the unified driver qti-can
also remove rh850 support from qti-can driver.

Change-Id: I6743604c1298b9705ac3550b96c9dae04d5137bd
Signed-off-by: Balachandra C S <balacs@codeaurora.org>
2018-03-16 18:49:58 +05:30
Soumya Managoli
44454d128a ASoC: sdm660: fix clock refcount for MI2S shutdown
For MI2S shutdown, if clock disable fails,
do not increment clock reference. Otherwise,
next time when startup is called, clock enable will not
be called again, so use case will not work.

CRs-Fixed: 2200021
Change-Id: Ic1b6f238e55a58ca1993049468cf13f13d80b9f4
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
2018-03-16 04:58:47 -07:00
Balachandra C S
f90ae17813 ARM: dts: msm: Add DT changes for QTI CAN driver for MSM8996
Add CAN device for MSM8996 auto variant using QTI CAN driver.

Change-Id: I76db18009bec22e2fa2216511b42dee99d1173ee
Signed-off-by: Balachandra C S <balacs@codeaurora.org>
2018-03-16 03:59:31 -07:00
Balachandra C S
512d289798 drivers: net: can: Unified driver for CAN controller
Create a single CAN driver for all the supported CAN
controllers.

Change-Id: I3770aae1adf4ccafd5132f6b57ddc050a93c7c0f
Signed-off-by: Balachandra C S <balacs@codeaurora.org>
2018-03-16 16:21:50 +05:30
Linux Build Service Account
9825a105f3 Merge "diag: Proper update of logging mode" 2018-03-16 01:56:04 -07:00
Linux Build Service Account
a3343e7061 Merge "msm: mdss: Signal outstanding fences when panel is dead" 2018-03-16 01:56:01 -07:00
Linux Build Service Account
31aa446b1f Merge "msm: mdss: release retire fence during commit failure" 2018-03-16 01:56:00 -07:00
Linux Build Service Account
f5371bbcaa Merge "scsi: ufs: Avoid uninitialized use of offset" 2018-03-16 01:55:58 -07:00
Linux Build Service Account
a0a386a360 Merge "ath10k: append the wmi_op_version to testmode get_version cmd" 2018-03-16 01:55:56 -07:00
Linux Build Service Account
f6d12408a2 Merge "Revert "defconfig: msm: Modify tv tuner config in MSM8996"" 2018-03-16 01:55:54 -07:00
Linux Build Service Account
a915fa29fa Merge "drm/msm/sde: add validation checks for source split" 2018-03-16 01:55:52 -07:00
Linux Build Service Account
8353ae1eaf Merge "drm/msm: move display and event threads to realtime priority" 2018-03-16 01:55:49 -07:00
Linux Build Service Account
07d35574bd Merge "regulator: kryo: fix return value for regulator_disable" 2018-03-16 01:55:36 -07:00
Linux Build Service Account
2a7776a7f1 Merge "clk: qcom: osm: Update maximum number of bytes to read from buffer" 2018-03-16 01:55:35 -07:00
Mahesh Sivasubramanian
9ca78f3033 drivers: qcom: lpm-stats: Fix undefined access error
In cleanup_stats(), a freed memory pointer pos might be accessed for
list traversal. Switch to using _safe() variant of the list API to
prevent undefined accesses.

Change-Id: I7d068cb7813ccb9bfdbcab4646b4ec890145828a
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2018-03-16 11:00:00 +05:30
Suprith Malligere Shankaregowda
88628a32e1 adv7481: Fix CVBS input resolution.
Modify CVBS resolution to 720x507 so that
cvbs frames displayed correctly.

Change-Id: I036aaa4606ff00aab107834fc3e39a5a096c3d87
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
2018-03-15 21:07:29 -07:00