Commit Graph

2464 Commits

Author SHA1 Message Date
Janusz Jankowski 1704bfcb95 cmake: tools: test
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-14 18:00:26 +00:00
Janusz Jankowski 67597453ec tools: tplg-build custom output dir
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-14 18:00:26 +00:00
Janusz Jankowski 44c0ce7388 cmake: tools: topology
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-14 18:00:26 +00:00
Janusz Jankowski f8f71f5938 cmake: tools: eqctl
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-14 18:00:26 +00:00
Janusz Jankowski 2728dae14c cmake: tools: logger
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-14 18:00:26 +00:00
Janusz Jankowski cfa10b808d cmake: CMakeLists for tools
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-14 18:00:26 +00:00
Tomasz Lauda 71b4f1d8c1 volume: refactor volume to support variable processing sizes
Refactors generic and HiFi3 volume processing implementations
to support variable processing sizes. The volume_copy method
will also be refactored in the near future to take advantage
of this feature.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2019-02-14 17:15:20 +00:00
Tomasz Lauda a3eaaf8b2d buffer: add helper function for processing wrapped buffer
Adds helper function for easier processing of wrapped buffer.
Processing modules should switch to this function instead of
directly using read and write pointers of buffer.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2019-02-14 17:15:20 +00:00
Tomasz Lauda 2a863143e8 component: refactor set state handling
Changes component set state handling. If component
already has the desired state, then the state propagation
will stop at that component. This allows for connecting
multiple source pipelines to one sink pipeline and
properly handling params and prepare calls.
Also removes unit tests, which don't make sense anymore.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2019-02-13 11:37:30 +00:00
Janusz Jankowski 779237837c cmake: meu: add option for openssl path
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-13 10:17:25 +00:00
Bartosz Kokoszko f5a242badc kconfig: cavs_ver: using cavs_ver in ipc.c
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2019-02-12 19:01:37 +00:00
Bartosz Kokoszko 3f4fb50d8e kconfig: cavs_ver: using cavs_ver in interrupt.c
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2019-02-12 19:01:37 +00:00
Bartosz Kokoszko 28d156d16d kconfig: add CAVS_VERSION_* symbols for CAVS platforms
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2019-02-12 19:01:37 +00:00
Janusz Jankowski 8d064e9ca3 cmake: do not use stdin for ld script
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-12 14:54:11 +00:00
Pan Xiuli 8c13fce6e5 [skip ci]scripts: fix a typo in name of targe install scripts
Change the scipts name.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-02-11 11:54:52 +00:00
Pan Xiuli aa172da919 [skip ci]scirpts: update target install
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2019-02-11 11:54:52 +00:00
Janusz Jankowski a4f666527e cmake: add build counter
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-11 11:53:32 +00:00
Janusz Jankowski 46730e89c6 cmake: refactor version.h rule
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-11 11:53:32 +00:00
Tomasz Lauda 72871397f2 dai: remove unused defines
Removes unused defines from dai component.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2019-02-11 11:49:47 +00:00
WojciechX Wittbrodt 8483480381 owners: add members of FW val team to uapi code
Signed-off-by: WojciechX Wittbrodt <wojciechx.wittbrodt@intel.com>
2019-02-09 22:21:29 +00:00
Tomasz Lauda daeafb197c dai: add dma_buffer to dai_data
Adds currently used dma_buffer to dai_data.
Now it's much easier to get buffer and also it's aligned
with what is done for host component.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2019-02-07 21:22:25 +00:00
Janusz Jankowski 075ccfe7ce dai: remove ssp loopback mode
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-07 21:14:15 +00:00
Pierre-Louis Bossart cfcdce9550 kmod_scripts: improve list of devices
HDaudio support was missing, along with a slew of codecs
Also add a log on module insertion

Tested on Up2 with HDMI&PCM512x, and CHT w/ rt5645

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-02-07 21:13:43 +00:00
Janusz Jankowski 9a4a822309 cmake: add savedefconfig target
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-07 21:12:39 +00:00
Janusz Jankowski 221cdfaf8a cmake: add alldefconfig target
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-07 21:12:39 +00:00
Janusz Jankowski d98c9d5a8b cmake: add olddefconfig target
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-07 21:12:39 +00:00
Janusz Jankowski ba7d875086 cmake: refactor kconfig targets
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-07 21:12:39 +00:00
Marcin Maka ebf4f4b6bf dox: ipc header documentation reformatted.
Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
2019-02-06 17:05:25 +00:00
Adrian Bonislawski a08a0c7705 Memory: make SOF_TEXT_SIZE dependent on the selected modules
Signed-off-by: Adrian Bonislawski <adrian.bonislawski@linux.intel.com>
2019-02-06 16:22:36 +00:00
Adrian Bonislawski 7cf738ef51 Kconfig: make volume and src components a config option
Signed-off-by: Adrian Bonislawski <adrian.bonislawski@linux.intel.com>
2019-02-06 16:22:36 +00:00
Slawomir Blauciak a52a1f2502 dma: log host preload timeout
Signed-off-by: Slawomir Blauciak <slawomir.blauciak@linux.intel.com>
2019-02-06 16:18:53 +00:00
Emil Chudzik c2f035a73b ssp: remove unused loopback mode method
Signed-off-by: Emil Chudzik <emil.chudzik@intel.com>
2019-02-06 15:19:47 +01:00
Emil Chudzik 33617197ac ssp: add LBM quirk
Signed-off-by: Emil Chudzik <emil.chudzik@intel.com>
2019-02-06 15:19:47 +01:00
ArturX Kloniecki 6ae25ed090 PM: Properly power down CNL/WHL/CML HPSRAM during D0/D3 transition
hpsram_mask passed to power_down procedure was improperly initialized
on CNL which lead to infinite loop waiting to power gate hpsram banks
that were not present.

Signed-off-by: ArturX Kloniecki <arturx.kloniecki@linux.intel.com>
2019-02-06 10:30:19 +00:00
Pierre-Louis Bossart fb137dec6b topology: up2 without HDMI
the kernel supports easy removal of HDMI support, let's add the
matching topology.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-02-06 10:26:25 +00:00
Janusz Jankowski 0144b2f41f cmake: change object files extension to .o
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-06 10:23:21 +00:00
Janusz Jankowski 82387c07a1 cmake: fix config.h dependency for linker
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-06 10:22:42 +00:00
Janusz Jankowski 8d408eb2e6 cmake: add dist target
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-05 16:44:22 +00:00
Pierre-Louis Bossart 6e26683f9f topology: apl-pcm512x: fix HDMI3 support
missing 2 in DAI_ADD() macro. This seems to be the only place where this
typo/mistake happens

we really need a parameter checker or move away from M4...

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-02-05 13:08:41 +00:00
Pierre-Louis Bossart 2da1c71b2c tools: kmod_scripts: remove modprobe error log and cleanups
filter out modprobe log if module is not in tree
also add missing codecs (rt5682 and wm8804) and reorder codec list

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
2019-02-05 13:07:51 +00:00
Daniel Baluta de7173fbc3 rimage: Describe memory as an array of zones
Use new block types added to describe memory for
a platform as an array of zones. The block type
will be an index into the array.

A memory zone is described by (base, size, host_offset).

With this map we can now easily find for a given section
in which memory zone it belongs.

Because we have 10 zones reserved this patch will allocate
extra 12 * 10 = 120 bytes that are not used yet.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2019-02-05 12:19:01 +00:00
Daniel Baluta 3d3e6f8cdb rimage: Refine sof fw blk type
Change the name of the enums to reflect the type
of memory where the given block will be loaded.

DATA section is mapped to DRAM, TEXT section is mapped to
SRAM. No ABI breakage.

We also reserve several slots for future use.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2019-02-05 12:19:01 +00:00
Marcin Maka 8169a9ec07 dox: reformatted documentation for component and ipc control
Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
2019-02-04 12:42:03 +00:00
Ranjani Sridharan e56326ab48 topology: cht: fix link id for nocodec DAI
Nocodec machine driver adds all the BE dai links with
ID's linearly incrementing from 0. So the link ID
should match with the SSP dai index.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
2019-02-02 16:35:16 +00:00
Tomasz Lauda 6b2ab3e5f4 hd-dma: missing COMP_STATE_ACTIVE on start
Adds missing status COMP_STATE_ACTIVE on start.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2019-02-01 21:37:36 +00:00
Janusz Jankowski 29f7b31a9d cmake: crossplatform meu version getter
Replaces Linux specific tools - grep and cut
with cmake regex.

Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-01 20:53:49 +00:00
Tomasz Lauda 02c655ca5e dw-dma: align lli to 32 bytes
Aligns linked list items to 32 bytes to not cross
cache line in case of having more than two items.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2019-02-01 20:11:45 +00:00
Tomasz Lauda 19e5fa2d77 work: added priorities
Introduces work queue priorities for future use.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2019-02-01 19:17:26 +00:00
Janusz Jankowski 7d28e2d632 cmake: fix rimage options order
Signed-off-by: Janusz Jankowski <janusz.jankowski@linux.intel.com>
2019-02-01 19:17:04 +00:00
Guennadi Liakhovetski 6d2b214abd owners: add myself as a code owner for Sue Creek related code
Take over ownership of drivers/dw, platform/suecreek and some other Sue
Creek related files.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
2019-02-01 19:16:10 +00:00