Commit Graph

2098 Commits

Author SHA1 Message Date
Liam Girdwood 5d7c535a21
Merge pull request #112 from singalsu/add_dmic_2ch_4ch_topologies
Topology: Add 2ch and 4ch raw DMIC capture topologies for APL
2018-10-24 10:18:42 +01:00
Liam Girdwood b793f0c1a0
Merge pull request #483 from ranj063/eq
Eq 16/24/32-bit support
2018-10-24 10:02:45 +01:00
Liam Girdwood 8998135f77
Merge pull request #501 from tlauda/topic/smp-stack
memory: align stack space between xtensa smp and up
2018-10-24 09:49:10 +01:00
Rander Wang 9d62c12823 hda: set correct link dma channel
host dma and link dma work in decouple mode for SOF + HDA codec.
Now allocate host dma and link dma channel in host and set them
in FW individually.

Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
2018-10-24 15:21:29 +08:00
Pierre Bossart bc50ce1954
Merge pull request #502 from akloniex/update-abi-header
abi: Update abi.h header to accommodate for changes done in krenel repository
2018-10-23 12:47:56 -05:00
Pierre-Louis Bossart 8d0f1783a6 topology: renumber SSP tokens - ABI CHANGE
Initial _ACTIVE fields are replaced by a single clock control
This change can lead to regressions, it needs to be aligned with the same
change at the kernel level.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2018-10-23 12:28:47 -05:00
Seppo Ingalsuo 092db5e225 Test: Audio: Fix paths in SRC host version testbench
The directories were restructured lately and this patch fixes the
changed paths issue.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-23 14:52:08 +03:00
ArturX Kloniecki 8b68c2bf78 abi: Update abi.h header to accommodate for changes done in krenel repository
Signed-off-by: ArturX Kloniecki <arturx.kloniecki@linux.intel.com>
2018-10-23 11:45:53 +02:00
Seppo Ingalsuo 8d4b10c539 Topology: Add 2ch and 4ch raw DMIC capture topologies for APL
This patch adds two minimal capture topologies to enable doing tests
those require raw audio capture with unmodified S32_LE samples, e.g.
channels order preserve test where the mic # origin can be checked
from side information in LSB bits.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-23 11:27:25 +03:00
Tomasz Lauda 9bf88f355f memory: align stack space between xtensa smp and up
Aligns stack space, so that xtensa smp implementation
matches xtensa up implementation. It also fixes
problem with stack dump on smp architecture.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-10-22 14:35:20 +02:00
Liam Girdwood 6baff99f88
Merge pull request #488 from mmaka1/ssp-init
dai: ssp: dynamic device descriptor initialization
2018-10-19 21:16:29 +01:00
Liam Girdwood a1dfcb7f4b
Merge pull request #110 from xiulipan/pr/daidir
Add direction for dai widget in topology
2018-10-18 16:58:20 +01:00
Liam Girdwood 64c0e8d6ec
Merge pull request #109 from xiulipan/pr/pplfmt
topology: duplicate dai formart for pcm add
2018-10-18 16:57:18 +01:00
Liam Girdwood 459ccd2d65
Merge pull request #496 from mmaka1/ut-trace-fix
test: ut: added more stubs for trace functions
2018-10-18 16:55:46 +01:00
Marcin Maka d08a1e22d1 test: ut: added more stubs for trace functions
Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
2018-10-18 16:29:40 +02:00
Liam Girdwood 079558d3b9
Merge pull request #495 from mmaka1/drv-alloc-fix
alloc: fixed memory leaks in dw-dma
2018-10-18 15:20:26 +01:00
Marcin Maka c7574ef877 alloc: fixed memory leaks in dw-dma
Existing memory leaks in dw-dma in pause/resume scenarios fixed.
Potential leaks in probe/remove scenarios fixed too.

Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
2018-10-18 15:27:07 +02:00
Liam Girdwood 98f73a8448
Merge pull request #494 from keyonjie/master
platform: fix dma_get() of ipc fail issue for byt/hsw/cavs
2018-10-18 12:48:27 +01:00
Pan Xiuli 25dcef9219 topolgy: m4: add direction for widget dai
Add direction for widget dai, 0 for playback and 1 for capture.

Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-18 18:59:24 +08:00
Pan Xiuli 489832137c topology: m4: add SOF_TKN_DAI_DIRECTION for DAI
Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-18 18:59:18 +08:00
Pan Xiuli b6016cd5e5 topology: duplicate dai formart for pcm add
In PIPELINE_PCM_ADD, DAI_FORMAT is not set but are used later.
Need to set this value to avoid protenial issues.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-18 18:43:37 +08:00
Keyon Jie 8064f7c929 platform: fix dma_get() of ipc fail issue for byt/hsw/cavs
We need to call ipc_init() after dmac_init(), otherwise will faild
at getting dmac for ipc page table tranferring and error happends
as below:

CORE LEVEL COMP_ID TIMESTAMP DELTA FILE_NAME CONTENT
0 1 DMA 85943.645833 85943.648438 dma.c:59 No DMAs installed

Here correct and fix it.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
2018-10-18 18:39:22 +08:00
Liam Girdwood b3764048e9
Merge pull request #90 from singalsu/fix_nocodec_dmic_pcm
Topology: DMIC: Reduce PCM capabilities to DMIC configuration
2018-10-18 11:20:44 +01:00
Liam Girdwood 64129bd0a3
Merge pull request #484 from zhuyingjiang/add_v1_5_manifest_header
Add v1 5 manifest header
2018-10-18 11:19:37 +01:00
Seppo Ingalsuo 53f90d9c6a Topology: DMIC: Reduce PCM capabilities to DMIC configuration
This patch impacts topologies sof-apl-nocodec, sof-apl-da7219, and
sof-glk-da7219 those use the pipe-passthrough-capture macro for DMIC.

The PCM saple rate is limited to 48 kHz (was 8 - 192 kHz). The capture
channels count can be only PIPELINE_CHANNELS (was 1 - PIPELINE_CHANNELS).
This prevents corrupted audio capture that happens when DMIC topology
parameters and capture parameters differ. It happens because DMIC FIFOs
drop samples or add unwanted samples when the configuration does not match.

In sof-apl-nocodec topology the PIPELINE_CHANNELS is set to 2 that
matches the configuration.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-18 12:42:38 +03:00
Zhu Yingjiang 5aa722e72b rimage: add firmware 1.5 manifest binary descryptor
add the 1.5 version manifest, for skylake and kabylake

Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com>
2018-10-18 14:42:58 +08:00
Zhu Yingjiang f1a40cff1f rimage: add firmware 1.5 manifest header
add manifest for skylake/kabylake, version 1.5

Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com>
2018-10-18 14:41:40 +08:00
Zhu Yingjiang 0a829ea0bb rimage: modify the API to version 1.8
change the define to 1.8
modify the API name to 1.8

Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com>
2018-10-18 14:38:12 +08:00
Zhu Yingjiang e539fa0965 rimage: rename the old css_header and fw_image_manifest
rename css_header to css_header_v1_8
rename fw_image_manifest to fw_image_manifest_v1_8

Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com>
2018-10-18 10:02:38 +08:00
Marcin Maka 550180ae16 dai: ssp: dynamic device descriptor initialization
This is a first step for run-time HW discovery on cavs
platforms.

Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
2018-10-17 12:53:10 +02:00
Liam Girdwood b971739a4a
Merge pull request #493 from mmaka1/cfg-mem-wnd
Cfg mem wnd
2018-10-16 13:01:36 +01:00
Liam Girdwood 3fcdb15fb7
Merge pull request #492 from mmaka1/hda-header
dai: hda: added the header for the driver
2018-10-16 12:55:49 +01:00
Ranjani Sridharan 609d8a4e37 eq: update frame fmt and period bytes based on source fmt
update frame fmt and period bytes based on source format during
prepare to be able to handle all three PCM formats.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-10-15 21:34:59 -07:00
Ranjani Sridharan 4c57e2b51f comp: new function to set frame_fmt and period bytes based on source/sink
Add new function to update dev frame format based on source/sink
format. Update volume_prepare() with the new function.

Please note that the new function changes the handling of default
case while setting the frame format. The frame format should be
set to config format only in the case of DAI source/sink type.
For all other cases, it should be set to the dev params frame fmt.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-10-15 21:34:59 -07:00
Ranjani Sridharan 416ca64408 eq: use updated SOF_ABI_VERSION
Use updates SOF_ABI_VERSION instead of EQ specific ABI version.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-10-15 21:34:59 -07:00
Liam Girdwood fda4f1a3ac
Merge pull request #490 from akloniex/fix-trace-error
debugability: Restore error traces always using mbox.
2018-10-15 21:30:16 +01:00
Liam Girdwood ac9bbedecb
Merge pull request #491 from tlauda/topic/idc-comp-cmd-fix
ipc: fix condition for slave core comp cmd
2018-10-15 21:20:50 +01:00
Liam Girdwood af19236513
Merge pull request #486 from dabekjakub/fix_pause_resume
dma: fixed play pause bug
2018-10-15 21:19:05 +01:00
Liam Girdwood 5b51dc0d4b
Merge pull request #108 from singalsu/eqctl_check_calloc_and_return_zero
eqctl: Add check for calloc() success and return 0 in exit
2018-10-15 20:38:52 +01:00
Seppo Ingalsuo 7a8ed190e8 eqctl: Add check for calloc() success and return 0 in exit
This patch adds the missed details into the code.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-15 19:20:26 +03:00
Liam Girdwood b37b8ef00c
Merge pull request #104 from bkokoszx/readme_update
readme: upgrade readme with logger instruction
2018-10-15 16:31:59 +01:00
Liam Girdwood 0e1680532d
Merge pull request #105 from bkokoszx/sof-logger
rmbox: change binary names of logger and rmbox
2018-10-15 16:31:37 +01:00
Marcin Maka 62f6742f4e make: cavs: make memory windows a configurable feature
Disabled for Sue configuration.

Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
2018-10-15 16:55:30 +02:00
Marcin Maka 101610ea43 plat: cavs: removed unused platform specific ssp defs
Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
2018-10-15 16:55:30 +02:00
ArturX Kloniecki b0150764dc debugability: Restore error traces always using mbox.
Signed-off-by: ArturX Kloniecki <arturx.kloniecki@linux.intel.com>
2018-10-15 16:40:53 +02:00
Marcin Maka 802a287d9e dai: hda: added the header for the driver
Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
2018-10-15 15:58:49 +02:00
Bartosz Kokoszko c8f671b746 rmbox: change bins name to sof-logger sof-rmbox
Change binary names:
from logger to sof-logger and
from rmbox to sof-rmbox

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-10-15 15:18:34 +02:00
Bartosz Kokoszko e6885d04a7 readme: upgrade readme with sof-logger instruction
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-10-15 15:13:07 +02:00
Tomasz Lauda 1aed447a03 ipc: fix condition for slave core comp cmd
Fixes condition for slave core component command.
It should only be executed on slave core if pipeline
is active. Otherwise master core should handle it.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-10-15 14:07:59 +02:00
Liam Girdwood 9033d35058
Merge pull request #100 from bkokoszx/logger_kw
rmbox: fix rmbox KW issues
2018-10-15 12:51:45 +01:00