Commit Graph

1462 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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 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 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 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
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
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
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
Pan Xiuli 0067b1b598 ci: traris: seprate job to show build stage
Seprate build scripts to show build stage of each platforms.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-09 17:42:24 +08:00
Pan Xiuli 173f4d21d0 scripts: add no riamge build options for build all script
Add -lr to let xtensa-build-all.sh do not build rimage.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-09 17:41:15 +08:00
Pan Xiuli 96aa24c2d9 scripts: add rimage build scripts local install
Add local install for rimage-build.sh

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-10-09 17:39:47 +08:00
Seppo Ingalsuo 323c55ae8d EQ: Check in new() coefficient blob size before allocating dev and cd
This patch simplifies new() function code and avoids unnecessary
allocation of component device and data resources if the the coefficient
blob is rejected due to size. The change is identical for FIR and IIR
EQs.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-09 11:36:46 +03:00
Marcin Maka 3f3fdf7894 plat: apl: clocks gated back on topology free
Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
2018-10-08 22:18:41 +02:00
ArturX Kloniecki 62ad4b83e9 abi: Redefine SOF_ABI_VERSION to allow for backward compatibility
SOF_ABI_VERSION macro now performs bitshift and addition to compose
final version number out of SOF_ABI_MAJOR, SOF_ABI_MINOR and SOF_ABI_MICRO
components.
Also added SOF_ABI_VERSION_INCOMPATIBLE macro to allow for easier comparison
between FW ABI version and client applications.

Signed-off-by: ArturX Kloniecki <arturx.kloniecki@linux.intel.com>
2018-10-08 19:20:04 +02:00
Liam Girdwood ccaff5c87e
Merge pull request #458 from thesofproject/topic/sgl-array
dma: SG elem lists replaced with arrays
2018-10-08 16:38:10 +01:00
Liam Girdwood ce7f99be29
Merge pull request #466 from tlauda/topic/smp-notifier
notifier: add notifier to core_context
2018-10-08 16:10:33 +01:00
Liam Girdwood b180af8ba7
Merge pull request #452 from mmaka1/clk-gating
plat: apl: clock gating adjusted for dai, dma, and cores
2018-10-08 16:06:26 +01:00
Marcin Maka 1ba7b5e0af plat: apl: clock gating adjusted for dai, dma, and cores
dai clocks ungated and resources allocated on the first use.
dma clocks ungated and resources allocated on the first use.
cores clocks gated in idle.

Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
2018-10-08 15:03:45 +02:00
Marcin Maka d5eaa8fcc7 dma: SG elem lists replaced with arrays
Multiple alloctions of SG elements linked as a list
replaced with single allocations of arrays.

- The code flows (esp. cleanup-on-error) are simplified,

- number of 64bytes chunk allocations reduced from 18 to 12 for
  example very basic topology, no increase in other areas
  (2-period sgls still fit),

- more efficient allocation for host page tables on legacy platforms;
  instead of going from a desc array to the list that is copied to
  another list, there is just a single allocation of array moved
  to the destination component.

Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
2018-10-08 14:37:53 +02:00