summaryrefslogtreecommitdiff
path: root/ipc
AgeCommit message (Collapse)Author
2020-09-03Merge "ipc: apr_vm: add symbol apr_register_adsp_state_cb"qctecmdr
2020-09-01ipc: apr_vm: add symbol apr_register_adsp_state_cbGuodong Hu
apr_register_adsp_state_cb is declared in apr.h. Change-Id: Ifd5b9c53af62868076db066f12615af22f54f5be Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2020-09-01dsp/ipc: update kbuild and header files for gvm bringupGuodong Hu
Update Kbuild and header files in msm_audio_ion_vm.c and apr_vm.c for kernel 5.4 gvm audio bring up. Change-Id: I6bcd0e49f783aaec43a64ad308b817a474b30dc7 Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
2020-08-29Merge "ipc: apr: set q6 state down when ECONNRESET from TAL"qctecmdr
2020-08-25Merge "soc: qcom: qdsp6v2: promote priority of apr_vm_cb_thread"qctecmdr
2020-08-24ipc: apr: set q6 state down when ECONNRESET from TALLaxminath Kasam
When SSR happens, APR state can update to DOWN immediately which ensures avoid continuous retry for PCM open from userspace as audio clients check APR state at pcm_open and return ENETRESET if APR is down. Change-Id: I60a6d217786b3d610b70adbd12d0e5f2a7c12205 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-08-19soc: qcom: qdsp6v2: promote priority of apr_vm_cb_threadHan Lu
The promoting is necessary to prevent audio tick noise under heavy cpu loading. Change-Id: I3fccb3b758b5fb5571031902344e542886b89209 Signed-off-by: Han Lu <hanlu@codeaurora.org>
2020-08-19soc: qcom: audio: remove unnecessary ackHan Lu
Remove send/check ACK in HAB communication, it consumes HAB bandwidth without necessity. Remove it to improve audio performance. Change-Id: Idee1d0276f40d463186e3caea6c4b28ef16ab67c Signed-off-by: Han Lu <hanlu@codeaurora.org>
2020-06-17Merge "dsp: adsp-loader: Support ADSP restart recovery when stuck"qctecmdr
2020-06-11asoc: flags is used but is uninitializedDeru Wang
initialize flags to resolve static code analysis issue Change-Id: I23e74050e69db6894b02cbc00605861abdce0e56 Signed-off-by: Deru Wang <deruwang@codeaurora.org>
2020-06-09ipc: apr: Support ADSP restart recovery when stuckSoumya Managoli
Add interface to register callback with adsp loader client. When adsp is stuck and does not respond for apr_send_pkt, resulting in continuous EAGAIN error, trigger this callback to enable adsp subsystem restart. Change-Id: Ib59cfdfba3313581d6612b872a2b7f1e19f8a76d Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
2020-05-20audio-kernel: Fix compile with CONFIG_DEBUG_FS removedLaxminath Kasam
Add fix for compilation failure after remove CONFIG_DEBUG_FS. Change-Id: I94f851916e1c397848aa5d107774f7480a74270f Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2020-05-06ASoC: update headers for upstream complianceVignesh Kulothungan
Update uapi header reference path to include path prefix "audio/" Change-Id: Ic7b1d22910b07be3ffe8d9f02514ed89facea974 Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-04-09asoc: lahaina: Fix compilation issues when DEBUG_FS is disabledPrakruthi Deepak Heragu
Fix the compilation issues in audio drivers when CONFIG_DEBUG_FS is disabled. Change-Id: I6eeb2b36b054ba30431f7b045c182888997dc331 Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2019-12-25ipc: apr: update scm header fileMeng Wang
Update scm header file folder. Change-Id: I535f133f9da1553daf7ee37049b26e6cdf2d71dd Signed-off-by: Meng Wang <mengw@codeaurora.org>
2019-12-19audio: update kernel version referenceVignesh Kulothungan
Update kernel version references from 4.19 to 5.4. Update symbolic links to new kernel version files. Change-Id: I38baa52218b16e0b0c86ad898912d29ec4d3d516 Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-12-19audio: Remove android make filesVignesh Kulothungan
Remove android make files from audio tech package. Change-Id: I21770bf64cef2bc767cdc81b0b864efff135bf84 Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2019-10-12bengal: enable compile of required modulesLaxminath Kasam
Update compile of required modules for bengal target. Change-Id: If4d512b7270cc811a05524caac5292234a0ac437 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-08-25Merge "audio-kernel: Update Kbuild support for bengal"qctecmdr
2019-08-02ASoC: Preliminary Android target definition for sdmshrikeVijayakumar Badiger
Add target definition support for sdmshrike. Change-Id: Ic87588d7aa9e14d2893bc1d6172cb35c34f6ede2 Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-08-02Merge "ASoC: msm: update makefiles for auto platform support"qctecmdr
2019-08-02Merge "ASoC: msm: Add audio support for sdmshrike on auto platform"qctecmdr
2019-07-31audio-kernel: Update Kbuild support for bengalLaxminath Kasam
Update config file to pick for bengal in Kbuild files. Change-Id: Ic86e22204bbc16ca751eceb0391e38b4a60ac8b5 Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2019-07-29Merge "audio-driver: Update build files for sa6155"qctecmdr
2019-07-24Initial target enablement changes for bengal.P.V. Phani Kumar
Change-Id: I7296e39fcedd9ecec5bb788ac3706b297ac8d6d7
2019-07-20ASoC: msm: update makefiles for auto platform supportDerek Chen
Update makefiles to use TARGET_BOARD_AUTO instead of TARGET_PRODUCT for automotive platform support. Change-Id: Ic688e8b13ba9c4b6f100c1acec50940053895d3d Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-07-20ASoC: msm: Add audio support for sdmshrike on auto platformDerek Chen
Add audio support for sdmshrike on automotive platform. Change-Id: I39c70fd7ed66124827f55b7a6e0a834cf735d301 Signed-off-by: Derek Chen <chenche@codeaurora.org>
2019-07-19audio-driver: Update build files for sa6155Rahul Sharma
Enable conditional build for audio driver modules specific to sa6155. Change-Id: I58701a907242afcfe230623ff42b47c001e3d5f4 Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
2019-06-25audio-driver: Update build files for auto LA-GVMTimothy Sham
enable conditional build for audio driver modules for automotive LA GVM. Change-Id: I058f3e6ca557f8ca6d02e33e80f6c190b1a2a29e Signed-off-by: Timothy Sham <tsham@codeaurora.org>
2019-06-20audio-driver: Update build files for LA automotiveCong Tang
enable conditional build for audio driver modules for LA automotive. Change-Id: Ifb18ea6f8af531a99e29904c2245424657b42df7 Signed-off-by: Cong Tang <congt@codeaurora.org>
2019-05-21Merge "ipc: add audio apr virtualization support"qctecmdr
2019-05-17ASoC: hide bind/unbind in sysfsXiaojun Sang
Exposure of driver bind/unbind to userspace via sysfs may lead to unexpected behavior. Hide bind and unbind by driver attribute. Change-Id: I20d6ee653bcc16af15d6368664aaf240c6645cd0 Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2019-05-13ipc: add audio apr virtualization supportTimothy Sham
Add support for virtualized APR 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. Change-Id: I1df70a76defec17a45db93f3707c35e4fa796bc0 Signed-off-by: Timothy Sham <tsham@codeaurora.org>
2019-04-26makefile: kona: remove make export <all variables> instancesDavid Ng
Replace all kernel make export <all variables> instances with export of specific variables. Depending on existing build environment, exporting all as environment variables and interaction with existing environment variable expansions can lead to undefined behavior. TODO: This change is restricted to kona flow to narrow impact. All remaining export <all variables> need to be evaluated and fixed similarly via subsequent changes. Change-Id: I9114b88f7511d1b3f9b496b76fb6da9db97772b8 Signed-off-by: David Ng <dave@codeaurora.org>
2019-04-25Merge "Audio: Add lito target for audio-kernel"qctecmdr
2019-04-19Audio: Add lito target for audio-kernelVatsal Bucha
Add lito target for audio-kernel modules. Change-Id: Ic8b43df74504950e4baad9701abeddcf8f30b420 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2019-04-15ipc: apr: Handle ssr return code from glinkRamprasad Katkam
Glink may receive ssr reset event before audio has received. Handle the ssr return code from glink as ssr reset event at apr. Change-Id: I62058ad56bece93cac52f26446e9c780cba3c633 Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
2019-03-25dsp: afe: get apr handle before sending apr pktKarthikeyan Mani
Make sure to get apr handle before sending a packet so that it does not end up with no handle to send the apr packet. Change-Id: Iaaebee3ddc6c83896e4cb9dc8149d310fc7d67f1 Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-03-06ipc: apr: check for packet size to header size comparisonKarthikeyan Mani
Check if packet size is large enough to hold the header. Change-Id: I7261f8111d8b5f4f7c181e469de248a732242d64 Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2019-02-20audio-kernel: asoc: ipc: add support for MDSP targetJosh Kirsch
Add support for MDSP based targets. Change-Id: Iac1402db89b321e85d4ccdb3863d697484c8251e Signed-off-by: Josh Kirsch <jkirsch@codeaurora.org>
2019-01-02dsp: return ENETRESET error if apr is downLaxminath Kasam
In SSR/PDR, return ENETRESET errno to propagate this failure to userspace. After audio HAL receives ENETRESET, it stops retry for pcm_open continuously. Rate limit the logs when apr send packet fails during PDR/SSR usecases to avoid watchdog timeouts. Change-Id: I03a80aef6ffedb4f15f953fff5213d6a3c9efc4b Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-12-21ASoC: config: add config to compile audio drivers for konaMeng Wang
Add config to compile audio drivers for kona. Change-Id: I3367a68d0109c80de8525fd74ebaef2959684865 Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-20asoc: update kernel version for konaMeng Wang
Update kernel version for kona. Change-Id: I490832f0a62f8f1b5cfe6fc6134e22cc5d8ae583 Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-10ipc: Add flag GCOV_PROFILE to makefileVatsal Bucha
Enable GCOV if config GCOV_PROFILE is set to true. Change-Id: Ia49884a7ed161052ff1b286970b01d160024313e Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
2018-12-10asoc: Update file header to GPL-2.0-onlyMeng Wang
Update file header to GPL-2.0-only. Change-Id: Ic1542a3209a5fe73c937a5b36491ede4a451936d Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-07ASoC: switch audio drivers to SPDX identifierMeng Wang
Switch audio drivers to SPDX identifier on msm-4.19. Change-Id: Ic3f0230a516db251b8d81e8a7e73dbc04d66fe1b Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-12-06asoc: clean up audio drivers and remove unused filesMeng Wang
Clean up audio drivers and remove unused files. Change-Id: I50559ac3c5f4a1f4336e4480cd3ff235d015441e Signed-off-by: Meng Wang <mengw@codeaurora.org>
2018-10-31Initial Android target definition for trinket.Hari Veerubhotla
Change-Id: Ib55a9013b0fa5bcda0e5d2d17d1741e607a9c9b5
2018-10-23Merge "ipc: wcd-dsp-glink: increase timeout to 2 seconds"Linux Build Service Account
2018-10-23Merge "audio-lnx: ANDROID_BUILD_TOP is deprecated."Linux Build Service Account