The hypervisor does not support PCI_MSM, and uses PCI_HOST_GENERIC
instead. After this change, the cnss2/PCIe for WLAN in metal case
depends on PCI_MSM, while in GVM case depends on PCI_HOST_GENERIC.
Currently, the WLAN chip is powered up by hypervisor. So, just
bypass power related code.
Change-Id: Icf13fb11c5e18f6e48746fe82f1b4392559dd5b0
Signed-off-by: Ferry Zhou <tianguiz@codeaurora.org>
Add interrupt support for virtual SPMI front-end driver. It will co-work
with backend to serve interrupts of GPIOs and VADC on PMIC.
Change-Id: I7404b18b553f58c8a645a0e300633828de41cfb3
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
Add msm audio ion vm device node to be compatible
with virtualized audio ion platform driver for
msm8996 automotive platform.
Change-Id: Ifaa396a8447080255a70eec5c2ddd3adf803d18f
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
In the code, there are certain calls that can
try to access the bffer pointer variable after
free, as the same pointer can be freed at
RELEASE_BUF call at the same time.
Change-Id: I4f7a48613b614138916ae33e7783b0c172330321
Signed-off-by: Meera Gande <mgande@codeaurora.org>
Make sure data is flushed before updating write index by adding a wmb.
Change-Id: I3d17ed56b64ac9ca399a0ef11a638027c1ba36ae
Signed-off-by: Chris Lew <clew@codeaurora.org>
Export wake_to_idle APIs so that external modules can access these
functions to improve performance.
CRs-Fixed: 2166787
Change-Id: I0863a2e80a303c7584ca52ef81c19d369e840662
Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
With such hab entry in the ivi vplatform's device tree,
hab driver will get its configurations dynamically. So
it will not use the default configurations any more.
Change-Id: Idbfc17d2b9ecc6bd18e3aa8901b9bbfbe20636f2
Signed-off-by: Yong Ding <yongding@codeaurora.org>
If the splash clean up is trigger, the MDP core power on call should
be skipped. MDP core already turned on in sde_kms_hw_init() if splash
handoff enabled.
Change-Id: Ie19c4eb2d0455b0c19615e3bb29aae4b4c6c8abf
Signed-off-by: Camus Wong <camusw@codeaurora.org>
Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
Since 'commit f332a9d53e33 ("softirq: defer softirq processing to
ksoftirqd if CPU is busy with RT")', all softirqs are deferred
to ksoftirqd if one of the potentially long softirqs are pending.
This can significantly delay processing of tasklets and timers,
which are frequently designed to be running at high priority.
Defer only the potentially slow softirqs to ksoftirqd.
Change-Id: I7a2ef7c59749ccf086066c59962ff326786da6f4
Signed-off-by: Björn Davidsson <bjorn.davidsson@sony.com>
[clingutla@codeaurora.org:- Renamed local variables and refactored
deferred logic to macro for avoiding potential deadlock.]
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
Stabilize adv7481 raw irq status register(IO_REG_INT_RAW_STATUS_ADDR)
read by adding delay in adv7481_irq workqueue schedule.
This resolves video split rendering when hot-unplug and hot-plug
the HDMI IN source.
CRs-Fixed: 2204762
Change-Id: Id2e86c56983318c9855cec881644552eab7810e5
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
On some targets, a higher timeout value is needed to get the firmware
version response.
Change-Id: Iede32155fb05877d8da70610fe4fcd391fdd268a
Signed-off-by: Balachandra C S <balacs@codeaurora.org>
Enable EHSET test fixture driver on msm8996 automotive target.
This driver is used to test high speed host electrical
compliance.
Change-Id: Id110e5defb00bcc8dc3bb33a944006f654e50f25
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
NULL pointer dereference occurs while getting version size
when version info memory allocation fails.
Add NULL check to avoid this NULL pointer exception.
Change-Id: I589b2114f67df0eeaaa817bad05cd7d44786d3ad
Signed-off-by: Cong Tang <congt@codeaurora.org>
On some targets, a higher timeout value is needed to get the firmware
version response.
Change-Id: I67b85b16f1d7187e953df23b9a2ba327ec8d8591
Signed-off-by: Balachandra C S <balacs@codeaurora.org>
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
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>
The patch removes the hdlc status dependency on session_info
protected by md_session_lock inserting delay in processing data
off peripheral.
CRs-Fixed: 2193991
Change-Id: Ia79c0efe82803c15ccae42b00d95258f52242eee
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
If clk disabled, we have to set current cmd to be available again
before function return, otherwise the same list member will be
double deleted when do enqueue tasklet next time.
Change-Id: Ibc392169a7e7ad084b14abaaa9cb3c61d06adcf4
Signed-off-by: Andy Sun <bins@codeaurora.org>
This query API can be used by hab clients to get
their virtual channels' info if necessary, eg, the
local and remote vmids.
Change-Id: I1293b51a1127997f493f07c0c2181423bf45d79e
Signed-off-by: Yong Ding <yongding@codeaurora.org>