summaryrefslogtreecommitdiff
path: root/include/linux/qdsp6v2 (follow)
Commit message (Collapse)AuthorAge
* Merge "ASoC: qdsp6v2: increase RTAC_MAX_ACTIVE_DEVICES to 6"Linux Build Service Account2019-09-04
|\
| * ASoC: qdsp6v2: increase RTAC_MAX_ACTIVE_DEVICES to 6Timothy Sham2019-08-07
| | | | | | | | | | | | | | | | To support up to 6 audio paths activated with different PCM devices, increase RTAC_MAX_ACTIVE_DEVICES from 4 to 6. Change-Id: I26c21ccad15d17081aae4b98557e4947974414ef Signed-off-by: Timothy Sham <tsham@codeaurora.org>
* | Asoc: apr: Fix sound card failure at stability runsSoumya Managoli2019-08-28
|/ | | | | | | | | | | | | | In stability reboot tests, deferred audio drivers are not invoked after lpass loading sometimes and results in sound card failure. Change APR to platform device and after APR status changes to loaded state, add dummy module child device under APR which invokes deferred audio drivers and sound card registers successfully. In analog codec driver defers until Q6 core ready. Change-Id: I1c82d9da55e771299df356a2771de2b2e62348cf Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
* apr: msm: fix compilation for non glink targetsAsish Bhattacharya2019-03-20
| | | | | | | Define proto functions for non glink targets. Change-Id: Ie9eb32fe9af70d078d8ddc915c998d49e89b79c1 Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
* soc: q6dspv2: add api to vote for upgrading thread priorityBanajit Goswami2019-01-17
| | | | | | | | | | | | For some time critical tasks, the thread priority might need to be upgraded to Real-Time Thread priority level. Expose an interface from APR layer so that clients can vote for a priority upgrade whenever needed. Change-Id: Ieb4afa914905750eccdf7672020a8751fdcf6462 Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org> Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
* soc: msm: add sensor dsp dynamic calibration support for ancTimothy Sham2018-09-25
| | | | | | | | Add Sensor DSP dynamic calibration support for Active Engine Noise Cancellation (ANC). Change-Id: Ibca0b039a80fde890f43116aaa646104e8ab9b6e Signed-off-by: Timothy Sham <tsham@codeaurora.org>
* include: qdsp6v2: avoid returning error code from stubbed functionBanajit Goswami2018-07-09
| | | | | | | | | | | | If MSM_QDSP6_NOTIFIER is not enabled for a target, audio_notifier feature will not be available for that target. Whenever a call is made to audio_notifier when its not supported, returning error from stubbed function may confuse the error with real failure (even though the feature is not enabled on the target). Avoid returning error code from stubbed function, when feature is disabled. Change-Id: I37eb2e25e45b25948aff55f2a231195a22b16f05 Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
* soc: msm: add sensor dsp framework support for ancDerek Chen2018-04-30
| | | | | | | | | Add Sensor DSP framework support for Active Engine Noise Cancellation (ANC). CRs-fixed: 2153236 Signed-off-by: Derek Chen <chenche@codeaurora.org> Change-Id: I4cd28ac1bbfd3fcd21174e0216c70cd664cfa319
* soc: msm: add apr sensor domain supportDerek Chen2018-04-20
| | | | | | | | | Add APR Sensor (DSPS) domain support for Active Noise Cancellation (ANC) usecase. CRs-fixed: 2153236 Change-Id: I5a271aac25ac6e538751d742dc0bf1b105221112 Signed-off-by: Derek Chen <chenche@codeaurora.org>
* soc: qcom: add audio apr and ion virtualization supportDerek Chen2017-10-18
| | | | | | | | | | | | | | | | | Add support for virtualized APR and ION frontend driver for audio. Virtualized APR frontend driver resides in guest VM and supports all legacy APR APIs. It will rely on MSM_HAB to communicate with APR backend driver, which resides in physical VM, where legacy SMD is utilized for communication between APPS and ADSP. Virtualized ION driver currently is designed to extract physical memory through hypervisor abstracted ion layer, which can be shared between APPS and ADSP directly. CRs-fixed: 2047379 Change-Id: I7dad5aebfd1db00cd32807dc1219818a7a4e62c5 Signed-off-by: Derek Chen <chenche@codeaurora.org>
* ASoC: qdsp6v2: update afe topology to RTAC driverVidyakumar Athota2017-02-03
| | | | | | | | | | In device switch scenarios, AFE topology is stored in Real Time Audio Calibration(RTAC) driver before afe ports are open, which is invalid. Update AFE topology in RTAC driver after topology ID is obtained during AFE port open. Change-Id: I034321126fb0ffc9a2871f3c64f29f8aaedb21e7 Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
* drivers: soc: apr: create glink buffers dynamicallyShiv Maliyappanahalli2017-01-20
| | | | | | | | | | | It is not always guaranteed that glink will ack all tx buffers intime and hence apr might run out of tx buffers for apr message transactions. Create TX buffers dynamically instead of preallocating fixed number of buffers. Change-Id: I53c9529d1e84a88cc2e0b161a8a5047d5a475620 Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
* Merge "drivers: soc: increase glink tx buffer count"Linux Build Service Account2016-11-14
|\
| * drivers: soc: increase glink tx buffer countShiv Maliyappanahalli2016-11-11
| | | | | | | | | | | | | | | | | | The number of total glink tx buffers are running out while exercising audio concurrency usecases. Increase the max tx count to accommodate additional buffer needs. Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org> Change-Id: Iab64336f8efde2778c16156c6bfcf566c4c892d3
* | drivers: soc: Enable APR driver to use audio notifierBen Romberger2016-09-26
| | | | | | | | | | | | | | | | | | | | Modify APR driver to use audio notifier framework. Audio notifier framework connects to best available subsystem for remote notifications. Change-Id: I783b7df9c7e0253e5dc88bd60e0b5300e26fba56 CRs-Fixed: 1054000 Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
* | drivers: soc: Add Audio Notifier, PDR, and SSR driversBen Romberger2016-09-26
|/ | | | | | | | | | | | | | The audio PDR driver is used to control the process domain restart recovery mechanism. The audio SSR driver is used to control the Subsystem Restart recovery mechanism. Both are controlled through the Audio Notifier driver which determines whether PDR or SSR is used and provides the core interface to all audio drivers. Change-Id: I15325c1385eaa0f0cca2c07130f2b4a997d98e1f CRs-Fixed: 1054000 Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
* drivers: soc: Add intent notification callback for APR GlinkJosh Kirsch2016-04-22
| | | | | | | | | APR is required not to send any packet until the far end queues at least one intent. Add the wait during client registration time. Change-Id: Ie29ddda4527ae7a70afff2c595d6e3c76500a8af Signed-off-by: Deven Patel <cdevenp@codeaurora.org> Signed-off-by: Josh Kirsch <jkirsch@codeaurora.org>
* APR: Add G-link transport layer for packet routingDeven Patel2016-03-23
| | | | | | | | | | APR driver was using SMD as the underlying transport layer. In order to provide a unified IPC solution, G-link is introduced as the replacement which APR adapts as the new transport layer for audio packet routing. Change-Id: I60d96e39ce665b808498d1130e371df8288e370a Signed-off-by: Helen Zeng <xiaoyunz@codeaurora.org> Signed-off-by: Deven Patel <cdevenp@codeaurora.org>
* ASoC: apr: add API to read subsys stateLaxminath Kasam2016-03-23
| | | | | | | | | As audio DSP can be running in lpass or modem based on chipset, add API to get the subsys state from apr_v2(lpass) and apr_v3(modem) accordingly. Change-Id: I7a2b6f12574edcc5f609ce8ddf684a840f86d676 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
* ASoC: msm: qdsp6v2: Don't request to open irrelevant SMD channelsVenkata Narendra Kumar Gutta2016-03-23
| | | | | | | | | | | APSS is unable to open apr_voice_svc channel with destination processor as MODEM. This is due to MODEM is no longer opening that channel, also none of the clients on apps are using this channel. Hence, don't request for the SMD channels when the destination is MODEM, but ensure that apr clients should be able to receive SSR notifications from MODEM subsystem. Change-Id: I566dd065ccd75956ab8fd594bb94e09b699258dd Signed-off-by: Venkata Narendra Kumar Gutta <vgutta@codeaurora.org>
* ASoC: msm: Add Audio drivers for MSM targetsSudheer Papothi2016-03-23
Add snapshot for audio drivers for MSM targets. The code is migrated from msm-3.18 kernel at the below commit/AU level - AU_LINUX_ANDROID_LA.HB.1.3.1.06.00.00.187.056 (e70ad0cd5efdd9dc91a77dcdac31d6132e1315c1) (Promotion of kernel.lnx.3.18-151201.) Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>