Commit Graph

2282 Commits

Author SHA1 Message Date
Liam Girdwood 920a3bce7e
Merge pull request #647 from xiulipan/pr/owner
github: add xiulipan as some field owner
2018-11-28 14:57:47 +00:00
Liam Girdwood 70928de483
Merge pull request #639 from mrajwa/gdb_support
GDB: Initial commit - added debug vector and init code.
2018-11-28 14:46:11 +00:00
Pan Xiuli e20217abc7 [skip ci]github: add xiulipan as some field owner
Add some field owner and have basic structure for CODEOWNER.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-11-28 21:09:47 +08:00
Marcin Rajwa a84ccfe0a0 GDB: Initial commit - added debug vector and init code.
Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
2018-11-28 13:16:58 +01:00
Tomasz Lauda 4bd543c337 rimage: fix possible buffer overflow
Fixes possible buffer overflow with strcpy.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-11-28 12:35:57 +01:00
Liam Girdwood e84770f46a
Merge pull request #643 from keyonjie/master
dw-dma: fix several trace formats issues
2018-11-28 10:12:40 +00:00
Liam Girdwood e082dd816a
Merge pull request #640 from ranj063/codeowner_topology
github: add @ranj063 as topology owner
2018-11-28 10:11:42 +00:00
Liam Girdwood 097c27ab94
Merge pull request #641 from xiulipan/pr/travistoolsupdate
CI: travis: add tools build
2018-11-28 10:10:34 +00:00
Keyon Jie 638d79bd0b dw-dma: fix several trace formats issues
Here fix several trace format issues, and one dma_start confusing logged
to 'put' issue.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
2018-11-28 14:33:40 +08:00
Pan Xiuli 56314cdf9c CI: travis: add tools build
Add tools build into travis CI.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-11-28 13:34:15 +08:00
Ranjani Sridharan f081a20de9 github: add @ranj063 as topology owner
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-11-27 18:10:02 -08:00
Liam Girdwood 31cde1ce97
Merge pull request #615 from slawblauciak/hda_dma_cleanup
dma: clean up by separating some of host/link specific code
2018-11-27 14:35:58 +00:00
Liam Girdwood 983517e359
Merge pull request #638 from bkokoszx/logger-rimage-headers
logger: include file_format.h directly from rimage
2018-11-27 14:33:57 +00:00
Liam Girdwood bad017ba56
Merge pull request #636 from ranj063/fix/glk-virtual-widget-warnings
Topology: Fix glk virtual widget warnings
2018-11-27 14:30:25 +00:00
Liam Girdwood a3a1a44fca
Merge pull request #635 from RanderWang/link-topology
topology: whl: refine topology for hda on whl
2018-11-27 14:24:19 +00:00
Liam Girdwood 3b84200c36
Merge pull request #634 from RanderWang/link-dma-config
link dma: allocate link dma channel at dai_config
2018-11-27 14:14:29 +00:00
Liam Girdwood 24840b4dcc
Merge pull request #633 from libinyang/host_release_channel
host: release dw-dma channel when pcm free
2018-11-27 13:58:43 +00:00
Bartosz Kokoszko 93f1a2eaa7 logger: include file_format.h directly from rimage
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-11-27 10:43:06 +01:00
Rander Wang 9bebdbf384 link dma: allocate link dma channel at dai_config
Fix capture issue with hda codecs. Now the data captured by
hda codecs is full of zero. It is caused by mismatch of link
dma channel between host and FW.

Now host allocates link dma channel at dai config loading stage,
and sends it to FW to allocate link dma channel at dai_config
function

Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
2018-11-27 16:58:23 +08:00
Ranjani Sridharan 6ff198df7c topology: glk: fix virtual widget warnings
Modify hard-coded virtual widgets to prevent kernel
warnings generated by the machine driver. No need to
add virtual_dapm_routes. Just adding the required virtual
widgets suffices to suppress the warnings.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-11-27 00:10:01 -08:00
Ranjani Sridharan f9b8e08f75 topology: modify virtual_widget definition
Modify virtual_widget macro definition to take type as
an input so it can used for different types and update
its users.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-11-27 00:08:53 -08:00
Rander Wang f9c23243d6 topology: whl: refine topology for hda on whl
Fix the issue that ipc timeout when simutalously playback
and capture. Now in FW, playback and capture are supported
by different dai. So dai index should be different for playback
and capture in the same be dai, or playback would use the same
dai as capture

Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
2018-11-27 13:59:45 +08:00
Libin Yang 3362f9b339 host: release dw-dma channel when pcm free
On byt-like platform, sof should release dw-dma channel which is got
in set_params(). And in host_free(), it should not release any channel
as host doesn't get any channel in host_new()

Signed-off-by: Libin Yang <libin.yang@intel.com>
2018-11-27 10:26:15 +08:00
Liam Girdwood 443233c9a0
Merge pull request #623 from lbetlej/move_stack_to_pg_sram
Power up only subset of HP SRAM banks on FW init (CannonLake)
2018-11-26 20:12:41 +00:00
Liam Girdwood 25217514d7
Merge pull request #627 from bkokoszx/logger-abi-verification
tools: logger: logger abi verification
2018-11-26 20:10:50 +00:00
Bartosz Kokoszko 221064d463 tools: logger: abi verification addition
I've added abi_version verification. Be default logger verify: abi
in *.ldc file with logger abi version. Additionally, logger can verify
abi in "/sys/kernel/debug/sof/fw_version" (with -e flag) or in
ver_file (with -v ver_file) with logger abi version.

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-11-26 18:06:55 +01:00
Bartosz Kokoszko 159cea157f tools: logger: removed uapi dependency
Logger now includes uapi directly from FW code.

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-11-26 18:06:26 +01:00
Liam Girdwood 3e23513881
Merge pull request #584 from singalsu/dmic_ipc_add_params
IPC: DMIC: Add clock start and clock change time delay parameters
2018-11-26 14:59:24 +00:00
Liam Girdwood e610edca7c
Merge pull request #626 from ranj063/host-owner
github: add ranj063 as owner of src/host
2018-11-26 14:54:48 +00:00
Liam Girdwood d963e51379
Merge pull request #624 from cujomalainey/soft-merge
Soft merge
2018-11-26 14:53:54 +00:00
Slawomir Blauciak 46f2384bf6 dma: clean up by separating some of host/link specific code
Signed-off-by: Slawomir Blauciak <slawomir.blauciak@linux.intel.com>
2018-11-26 15:13:28 +01:00
Seppo Ingalsuo d6fb9fd283 IPC: DMIC: Add wake_up_time and min_clock_on_time parameters
This patch adds the two parameters into DMIC configuration
IPC. The parameters will control DMIC HW muting in capture start
and ensure in capture stop that the clock has been kept active
sufficient long time. The implementation of these features is
done later.

The reserved[] vector is reduced by the amount of added
words. Also the ABI minor version is incremented.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-11-26 12:51:07 +02:00
Ranjani Sridharan 46b7cc9af4 github: add ranj063 as owner of src/host
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2018-11-25 20:03:39 -08:00
Curtis Malainey c0c8172535 Update Docker README for SOFT merge
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
2018-11-24 23:38:51 -08:00
Curtis Malainey f8e3b126e1 Adjust tools build script for new path
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
2018-11-24 23:30:33 -08:00
Curtis Malainey ebf4f52652 Merge SOFT into SOF
Merge SOFT in to reduce bisecting issues and header confusion for tools
2018-11-24 23:27:37 -08:00
Curtis Malainey 5b5888ce07 Move SOFT into sub folder for SOF merge
Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
2018-11-24 23:27:24 -08:00
Lech Betlej bb2663653d Power up only subset of HP SRAM banks on FW init (CannonLake)
In order to reduce power consumption in runtime only subset of HP SRAM
banks have to be powered. The PR covers 2 aspects:
1. Changed memory map to move stack up by 21 memory banks. Buffer heap
size was reduced from ~2.3MB to ~0.9MB.
2. Changed HP SRAM initialization to power up only needed banks and
properly check HW response.

Signed-off-by: Lech Betlej <lech.betlej@linux.intel.com>
2018-11-23 16:33:34 +01:00
Liam Girdwood 6e14892bb6
Merge pull request #622 from keyonjie/master
IPC: Xrun: fix Xrun stream id error issue
2018-11-23 12:43:10 +00:00
Keyon Jie 1b673c48a0 IPC: Xrun: fix Xrun stream id error issue
As API required, we need transfer stream host comp.id inside hdr cmd,
otherwise, host side can't get information about which stream has Xrun
happened, and reported error as "XRUN for unknown stream, msg_id 0".

This is similar to Position IPC, add comp.id into cmd to fix it.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
2018-11-23 19:33:18 +08:00
Liam Girdwood 96d6c6bc0f
Merge pull request #621 from jajanusz/autoconf-make-roms-optional
autoconf: make roms build optional
2018-11-23 10:54:32 +00:00
Janusz Jankowski 64497f5f64 autoconf: make roms build optional
Use --enable-roms to build ROMs

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2018-11-23 11:46:38 +01:00
Liam Girdwood e8ef1f21c4
Merge pull request #617 from jajanusz/update-codeowners-makefiles
github: add jajanusz as owner of .ac .am files
2018-11-22 15:21:01 +00:00
Janusz Jankowski 051bfdd04c github: add jajanusz as owner of .ac .am files
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2018-11-22 15:36:22 +01:00
Liam Girdwood 77e96abba6
Merge pull request #616 from singalsu/add_codeowners_singalsu
CODEOWNERS: Add SRC; EQ, FIR, IIR, tone, and DMIC to singalsu
2018-11-22 14:29:41 +00:00
Liam Girdwood ad3f3e4f77
Merge pull request #134 from mwierzbix/helper-scripts-pretty-macro
shell-scripts: human-readable preprocessor output
2018-11-22 14:23:36 +00:00
Seppo Ingalsuo 87a044f583 CODEOWNERS: Add SRC; EQ, FIR, IIR, tone, and DMIC to singalsu
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-11-22 16:23:08 +02:00
Liam Girdwood 105dd406c6
Merge pull request #614 from tlauda/topic/fix-alloc-free
alloc: fix freeing of uncached pointers
2018-11-22 14:16:06 +00:00
Liam Girdwood 9ab0b6d9ae
Merge pull request #606 from thesofproject/lrg/topic/vm-rom
Build simple ROMs for CI testing of APL etc
2018-11-22 14:02:36 +00:00
Tomasz Lauda 754757ab17 alloc: fix freeing of uncached pointers
Fixes freeing of uncached pointers.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-11-22 13:55:23 +01:00