Commit Graph

2098 Commits

Author SHA1 Message Date
Liam Girdwood 9df6d36a52
Merge pull request #103 from bkokoszx/logger_usage
rmbox: usage function refinement
2018-10-15 12:48:45 +01:00
Bartosz Kokoszko 7ad6c23121 rmbox: fix rmbox KW issues
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-10-15 13:41:17 +02:00
Liam Girdwood 06a42dd68f
Merge pull request #107 from singalsu/eq_iir_fix_assign_integer_type
EQ: Fix an integer type bug in IIR coefficients blob packer
2018-10-15 12:40:14 +01:00
Liam Girdwood b76776ba8c
Merge pull request #106 from singalsu/eq_path_change_updates
EQ: Update new path into objective quality test functions
2018-10-15 12:39:55 +01:00
Liam Girdwood 282a318c2e
Merge pull request #80 from xiulipan/pr/up2hdmi
topology: enable hdmi support on UP2 board
2018-10-15 12:37:55 +01:00
Bartosz Kokoszko c9731f1678 rmbox: usage function refinement
Refines the output content when displaying the logger usage.

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-10-15 11:08:06 +02:00
Jakub Dabek 5cb14b3596 dma: fixed play pause bug
Removed status change on dma channel for release trigger.

Signed-off-by: Jakub Dabek <jakub.dabek@linux.intel.com>
2018-10-15 09:55:17 +02:00
Seppo Ingalsuo 0913d7c83a EQ: Fix an integer type bug in IIR coefficients blob packer
This patch adds explicit conversion to signed int32 type for response to
channels indices in assign_response and filter coefficients. The bug was
visible if trying to activate in IIR blob the per channel filter bypass
by having a negative value (-1) in any of channel assigns. Octave assumed
the type to be unsigned and produced wrong configuration bytes.

The filter coefficients are already integer type from previous
quantization code in the conversion process. However it does not hurt to
have extra safety to avoid similar issue as assign.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-15 10:54:48 +03:00
Seppo Ingalsuo 9250bfe034 EQ: Update new path into objective quality test functions
This patch fixes the path issue from previous directory structure
maintenance.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-15 10:44:42 +03:00
Pan Xiuli 97ae708c5e topology: enable hdmi support on UP2 board
Add HDMI support to sof-apl-pcm512x

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-15 08:16:24 +08:00
Liam Girdwood c0a881a3b7
Merge pull request #101 from juimonen/test_pr
tests: add qa tests and rearrange other tests under one directory
2018-10-14 22:41:17 +01:00
Liam Girdwood 6efe3d4470
Merge pull request #95 from singalsu/tplg_add_iir_dmic_pipe
Topology: Add DMIC capture pipeline with gain and high-pass filter
2018-10-14 22:37:31 +01:00
Liam Girdwood 1024e946a4
Merge pull request #482 from tlauda/topic/idc-notify
notifier: support for multicore notifications
2018-10-14 20:26:14 +01:00
Liam Girdwood 36db3deefb
Merge pull request #485 from xiulipan/pr/qemu
Travis CI Update Part 2. (Enabel Qemu boot test)
2018-10-14 20:23:37 +01:00
Liam Girdwood 32cf948510
Merge pull request #481 from slawblauciak/test_fixes
test: Partially fixed alloc unit tests
2018-10-14 17:19:16 +01:00
Liam Girdwood 84e5353c1c
Merge pull request #478 from akloniex/trace-improvement
debugability: trace_event with 4 parameters, assertion on invalid number of params
2018-10-14 17:15:21 +01:00
Pan Xiuli 97ea0dc656 ci: travis: enable boot up test on BYT and CHT
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-12 17:06:10 +08:00
Pan Xiuli b3c64f499a scripts: docker: add qmeu docker
Add a docker contains sof xtensa qemu

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-12 17:06:10 +08:00
Pan Xiuli 779d6bce35 scripts: create a folder for sof builder docker
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-12 17:06:10 +08:00
Pan Xiuli 1d6f12cfb5 scripts: add script for qemu check
usage: run this script in the qemu folder

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-12 17:06:03 +08:00
Jaska Uimonen 0808765bf4 tests: add qa tests and rearrange other tests under one directory
Previously we used to have tests scattered around, so let's put
them under one directory to make things more clear.

Now under top level test directory we have directories:

audio - objective audio quality tests
used to be under test/

qa - qa tests run by the CI
new test component in soft repo

topology - topology test file generation
used to be under topology/tests

Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
2018-10-12 08:12:49 +03:00
Tomasz Lauda d16addfe99 notifier: support for multicore notifications
Adds support for multicore notifications:
- IDC that needs to be sent to slave cores.
- Flag which tells notifier, which cores should be notified.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-10-11 18:13:07 +02:00
Seppo Ingalsuo 27281d75e7 Topology: Add DMIC capture pipeline with gain and high-pass filter
This patch adds topology sof-apl-eq-dmic to help testing acoustical
audio capture via DMIC or work as example for other machine drivers. The
capture format is set as four channels, S32_LE, 48 kHz. The IIR EQ is
a 2nd order Butterworth high-pass with cut-off frequency at 50 Hz to
suppress non-audible lowest frequencies. The EQ provides additional
+20 dB gain to avoid the recording to sound too silent.

The IIR EQ or additional FIR EQ instance can when needed provide other
form factor specific equalization.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-11 17:12:27 +03:00
Slawomir Blauciak 246de4bd41 test: Partially fixed alloc unit tests
Unfortunately tests for buffer/runtime zones will remain broken,
might require some rework in the firmware code.
For this reason, they shall be temporarily disabled.

Signed-off-by: Slawomir Blauciak <slawomir.blauciak@linux.intel.com>
2018-10-11 14:06:50 +02:00
ArturX Kloniecki f7079f5d9a debugability: Protect against invalid param num in trace_event macro
Introduce STATIC_ASSERT macro for compile-time verifications.

Signed-off-by: ArturX Kloniecki <arturx.kloniecki@linux.intel.com>
2018-10-11 13:58:54 +02:00
ArturX Kloniecki 9b51e3e9ab debugability: Add possibility to use up to 4 params in log messages.
Signed-off-by: ArturX Kloniecki <arturx.kloniecki@linux.intel.com>
2018-10-11 13:58:54 +02:00
Liam Girdwood 7f47792cbd
Merge pull request #99 from singalsu/eq_add_response_measure
EQ: Add tool for acoustical frequency response measurement
2018-10-11 12:14:17 +01:00
Liam Girdwood cc3fb1e4b3
Merge pull request #480 from tlauda/topic/ssp-pm-fix
pm_runtime: fix clock gating for SSP 4 & 5
2018-10-11 12:11:31 +01:00
Liam Girdwood 12ecadcfcc
Merge pull request #467 from tlauda/topic/clock-refactor
clock: simplify clock implementation
2018-10-11 12:06:04 +01:00
Tomasz Lauda 30e7613e86 pm_runtime: fix clock gating for SSP 4 & 5
Fixes clock gating switching for SSP 4 and 5.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-10-11 11:56:22 +02:00
Liam Girdwood 878d08831c
Merge pull request #98 from akloniex/trace-improvements
logger: Add support for 4 parameters passed to log message.
2018-10-10 16:40:34 +01:00
Liam Girdwood 3e848fe2e5
Merge pull request #97 from akloniex/fix-formatting
logger: Fix formatting of line number value.
2018-10-10 16:38:54 +01:00
Liam Girdwood 3c59e53943
Merge pull request #96 from akloniex/read-stdin
logger: Implement possibility to read log data from stdin
2018-10-10 16:29:48 +01:00
Liam Girdwood b6046db271
Merge pull request #93 from RanderWang/whl_tplg
WHL: add a bespoke hda topology for WHL
2018-10-10 16:17:10 +01:00
Liam Girdwood 7996f1ac10
Merge pull request #471 from akloniex/redefine-abi-version
abi: Redefine SOF_ABI_VERSION to allow for backward compatibility
2018-10-10 16:16:03 +01:00
Liam Girdwood bad7b99721
Merge pull request #454 from singalsu/eq_fir_add_16_24_data_proposal
EQ FIR: Add support for 16 and 24 bit data
2018-10-10 16:13:38 +01:00
Liam Girdwood 8aff3de2ac
Merge pull request #476 from jajanusz/fix-hda-dgbwp-typo
hda-dma: fix typo - read DGBWP
2018-10-10 16:01:17 +01:00
Liam Girdwood a14bfeb0bb
Merge pull request #474 from bardliao/master
dma-trace: remove specific reply
2018-10-10 16:00:53 +01:00
Seppo Ingalsuo 1cbba6c5e8 EQ: Add tool for acoustical frequency response measurement
This patch adds into SOFT/tune/eq a script mls_freq_resp.m that can
be used as low budget or quick developer tool to measure device frequency
response. The configuration files mls_play_config.txt and
mls_rec_config.txt configure the audio devices for local or remote
ssh aplay/arecord execution.

The MLS measurement with a short time window, e.g. less than 10 ms can
partially achieve the same as anechoic measurement. However this
is not intended to replace usage any professional audio measurement. If
using this use with care!

Note also that as such this script measures the response of a
speaker - microphone system. One response need to be known and
under calibration to get reliable results for other. Even ADC and DAC
responses may impact.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-10 16:43:38 +03:00
Seppo Ingalsuo 0c1756c49a EQ FIR: Add support for 16 and 24 bit data
This patch adds to equalizer capability to process 16 and 24 bit
pipelines in addition to 32 bit similarly as IIR. The generic C,
HiFiEP, and HiFi3 versions are updated with the capability.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-10 13:20:36 +03:00
Liam Girdwood 1c19a79d71
Merge pull request #475 from xiulipan/pr/travisdivbuild
Travis CI Update Part 1. (Separate platform stage status)
2018-10-10 10:51:35 +01:00
ArturX Kloniecki 3bf2641ef5 logger: Add support for 4 parameters passed to log message.
Signed-off-by: ArturX Kloniecki <arturx.kloniecki@linux.intel.com>
2018-10-10 11:44:12 +02:00
Liam Girdwood 3bb9c837b7
Merge pull request #470 from singalsu/eq_new_simplify_check_first_coefficient_blob_size
EQ: Check in new() coefficient blob size before allocating dev and cd
2018-10-10 10:23:38 +01:00
Liam Girdwood 55054afe84
Merge pull request #464 from singalsu/fix_bug_in_new_1k_alloc_buffers
Memory: Fix bug in previous commit that introduced 1k buffers
2018-10-10 10:20:40 +01:00
Liam Girdwood 2bcafb7e1d
Merge pull request #472 from mmaka1/clk-gating-put
plat: apl: clocks gated back on topology free
2018-10-10 10:13:36 +01:00
ArturX Kloniecki 932f09f0c2 logger: Fix formatting of line number value.
Signed-off-by: ArturX Kloniecki <arturx.kloniecki@linux.intel.com>
2018-10-10 09:17:54 +02:00
Bard liao 1aa421173b dma-trace: remove specific reply
ipc_platform_do_cmd will send a standard reply when ipc_cmd() return 0.
So, we don't need to send a specific reply in ipc_dma_trace_config().

Signed-off-by: Bard liao <bard.liao@intel.com>
2018-10-10 01:55:40 +08:00
Janusz Jankowski d260db7f5b hda-dma: fix typo - read DGBWP
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2018-10-09 16:27:03 +02:00
ArturX Kloniecki 5e4995f995 logger: Implement possibility to read log data from stdin
Signed-off-by: ArturX Kloniecki <arturx.kloniecki@linux.intel.com>
2018-10-09 14:37:24 +02:00
Tomasz Lauda 4f03d43556 clock: simplify clock implementation
Refactors clock code to include clocks for all cores.
Also simplifies the whole clock driver implementation,
so the ifdefs for platforms are no longer needed.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-10-09 12:08:01 +02:00