Commit Graph

2098 Commits

Author SHA1 Message Date
Liam Girdwood 36b85943a8 sue: dma: Add Sue Creek DMAC platform data.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:09:58 +01:00
Liam Girdwood 244d30769b sue: platform: Add platform init for Sue Creek
Sue creek has no SRAM windows.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:09:58 +01:00
Liam Girdwood 630e988a97 sue: scripts: Add sue creek support into buildall
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:09:58 +01:00
Liam Girdwood c03f120d64 sue: Add initial support for suecreek IPC.
IPC will be via SPI on Suecreek.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:09:58 +01:00
Liam Girdwood 5b321dd57d sue: Add support for Suecreek platform
Suecreek is Intel S1000 SoC audio DSP. Host connection is via SPI.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:09:58 +01:00
Liam Girdwood 95a6e304cc sue: Add SSP defs for Sue Creek
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:03:06 +01:00
Liam Girdwood 7b64a5fde8 sue: dmic: Add support for sue creek.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:03:06 +01:00
Liam Girdwood 489cfb5f0f sue: dw-dma: Add support for suecreek
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:03:06 +01:00
Liam Girdwood 43cebe0cb0 sue: clocks: Add clock config for suecreek.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:03:06 +01:00
Liam Girdwood 1ea7b575e2 xtensa: boot loader: sue creek has no IMR so use different base address
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:03:06 +01:00
Liam Girdwood 6d4e923955 xtensa: boot: Don't initialise SRAM windows for sue creek
Sue Creek has no SRAM windows so no need to init.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:03:06 +01:00
Liam Girdwood 99473f3200 rimage: add initial support for sue creek.
Build tested.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
2018-10-01 20:03:06 +01:00
Liam Girdwood 4dd67d5754
Merge pull request #447 from tlauda/topic/fix_smp_build_cnl
arch: fix smp build on CNL and ICL
2018-10-01 16:10:14 +01:00
Liam Girdwood 34f7952ee5
Merge pull request #446 from mmaka1/pm-runtime-ext
pm: pm_runtime interface extended
2018-10-01 16:09:42 +01:00
Tomasz Lauda 0e92db32c1 ut: fix tests on xtensa-smp
Fixes UT on xtensa-smp architecture.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-10-01 16:24:22 +02:00
Tomasz Lauda a55e00c456 arch: fix smp build on CNL and ICL
Fixes building of xtensa-smp architecture on CNL and ICL.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-10-01 15:31:38 +02:00
Marcin Maka eba8bc68c3 pm: pm_runtime interface extended
Now accepts device index and flags.

Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
2018-10-01 15:04:26 +02:00
Seppo Ingalsuo 0f06203ca8 EQ FIR: memory: Add trace error for alloc fail and add a 1024 size buffer
This patch adds a single 1024 bytes buffer into heap for e.g. rzalloc()
usage. The FIR EQ code didn't trace the allocation failure so it's added
to see better if this happens. The 1k allocation for PCM samples delay
line is quite typical since a 32 bit 100 tap stereo FIR will need 800
bytes.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-10-01 15:26:12 +03:00
Liam Girdwood 4c9498a8ac
Merge pull request #86 from xiulipan/pr/loggerfix
Some optimization to logger
2018-09-29 21:00:01 +01:00
Liam Girdwood e97bda295f
Merge pull request #74 from singalsu/add_eqctl_proposal
EQ: Add equalizer control tool eqctl
2018-09-29 20:53:28 +01:00
Liam Girdwood e66596e418
Merge pull request #84 from RanderWang/hda-fix
hda: add virtual widgets to kill error message in kernel log
2018-09-29 20:49:51 +01:00
Liam Girdwood 3ae5e6305e
Merge pull request #438 from tlauda/topic/apl-extend-system-heap
memory: apl: extend system heap
2018-09-29 15:55:15 +01:00
Liam Girdwood 6a12fb989c
Merge pull request #439 from tlauda/topic/xtos-remove-debug-write
arch: remove debug write from xtos
2018-09-29 15:46:42 +01:00
Pan Xiuli a8d54314c9 logger: make logger usage similiar to old rmbox
Add wrapper for parser function and add default path for error
trace and dam trace.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-09-29 13:10:35 +08:00
Pan Xiuli 8f9b35071b logger: run dos2unix for some format issues
Change some dos format to unix

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-09-29 13:10:35 +08:00
Pan Xiuli 497acc82a9 logger: change include filename for uapi
Did not include header in a absolute path.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
2018-09-29 13:10:35 +08:00
Rander Wang 2f65d96833 hda: add virtual widgets to kill error message in kernel log
Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
2018-09-29 10:40:21 +08:00
Seppo Ingalsuo 1a1e1268ee EQ: Add equalizer control tool eqctl
This patch adds a simple control tool to setup during runtime (idle)
the IIR or FIR equalizer with new coefficients configuration. It is
useful in tuning of the equalizers. The tool also has capability to read
the EQ configuration from DSP.

Run "sof-eqctl -h" to see usage. The directory SOFT/tune/eq contains tool
to create EQ setup data.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-09-28 17:41:53 +03:00
Liam Girdwood a97cd4f083
Merge pull request #437 from tlauda/topic/ipc-fix-notifications-again
ipc: fix position notifications (overwritten by merge)
2018-09-28 15:18:40 +01:00
Liam Girdwood dd411603a9
Merge pull request #436 from mmaka1/dma-cleanup
dma: simple i/f to control flow between platform and lib
2018-09-28 15:18:13 +01:00
Liam Girdwood 36166d2c23
Merge pull request #435 from akloniex/debugability
debugability: optimization: change declaration of buffer allocation on stack
2018-09-28 15:17:10 +01:00
Tomasz Lauda 04ad28136d arch: remove debug write from xtos
Removes debug write from low lvl irq dispatcher in xtos.
It overwrites our FW status in memory window.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-09-28 16:15:47 +02:00
Tomasz Lauda e55d5be5ef memory: apl: extend system heap
Extends system heap for core 0 to match other platforms.
Needed as total size of objects allocated on system heap
constantly changes and causes out of memory during slave
core enablement.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-09-28 16:09:05 +02:00
ArturX Kloniecki dc74c6cb34 debugability: optimization: change declaration of buffer allocation on stack
Due to compiler inability to determine compile-time constant value
of a variable, that was used to determine buffer array size,
compiler dynamically allocated memory on stack, which is far from optimal.

Signed-off-by: ArturX Kloniecki <arturx.kloniecki@linux.intel.com>
2018-09-28 15:17:40 +02:00
Liam Girdwood 918e401319
Merge pull request #77 from bkokoszx/logger
Logger: added tool for parsing new trace format
2018-09-28 13:45:14 +01:00
Tomasz Lauda 547824b54e ipc: fix position notifications (overwritten by merge)
Fixes notification data for position and xrun notifications.
Data sent to host was invalid.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-09-28 14:37:34 +02:00
Bartosz Kokoszko 437de79ec0 logger: added and updated logger makefiles
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-09-28 14:24:09 +02:00
Bartosz Kokoszko 6157e899e2 logger: added tool for parsing new trace format
Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
2018-09-28 14:23:43 +02:00
Marcin Maka a6c8c25438 dma: simple i/f to control flow between platform and lib
Less globals.
Path to dynamic dma discovery enabled on platforms that support it.
Avoid linker issues as platform lib still keeps refs to dma
array once probing is deferred (patch is coming).

Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>
2018-09-28 13:07:18 +02:00
Liam Girdwood 996335743d
Merge pull request #434 from singalsu/eq_fir_cleanup_init_cache_proposal
EQ FIR: Updates for component initialization and cache functions
2018-09-28 11:54:35 +01:00
Liam Girdwood 44c6402cb4
Merge pull request #419 from bkokoszx/debugability-avoid-null-dereference
debugability: avoid potential nullpointer dereference
2018-09-28 10:04:49 +01:00
Seppo Ingalsuo 7a0d5f6246 EQ FIR: Updates for component initialization and cache functions
This patch delays FIR initialization until prepare() to avoid unnecessary
initialization for not final channels amount when in idle. It avoids
a number of malloc and free operations. The FIR delaylines allocation
is brought easier visible via addition for FIR delay address and size
pointers to component data. There's no more need to look it up from inside
of FIR channel instances.

The FIR channel bypass feature is now supported with assign of response
number -1 into channel similarly as in IIR. The same change is done
for generic C and optimized FIR cores.

The cache invalidate functions are cleaned up to perform the operation
into single allocated buffer instead of multiple.

FIR reconfigure during playback is prevented due to still incomplete
implementation for runtime changes.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2018-09-28 11:51:52 +03:00
Liam Girdwood 18c9950855
Merge pull request #82 from keyonjie/master
topology: add topology file for hda generic machine
2018-09-28 08:39:47 +01:00
Liam Girdwood 933fce3c88
Merge pull request #79 from bardliao/apl_rvp
topology: initial topology file for APL RVP
2018-09-28 08:23:50 +01:00
Keyon Jie 8dc01f7cb5 topology: add topology file for hda generic machine
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
2018-09-28 14:21:05 +08:00
Liam Girdwood 299ccbce58
Merge pull request #430 from tlauda/topic/fix_host_free
host: don't free empty buffer list
2018-09-27 16:51:14 +01:00
Tomasz Lauda 3a9652d839 host: don't free empty buffer list
Don't free empty buffer list on host component free.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-09-27 17:33:39 +02:00
ArturX Kloniecki f0ffa5e4cc debugability: avoid potential nullpointer dereference
Signed-off-by: ArturX Kloniecki <arturx.kloniecki@linux.intel.com>
2018-09-27 14:04:15 +02:00
Liam Girdwood 81e8a33b58
Merge pull request #429 from tlauda/topic/ut_fix_includes
ut: include missing headers
2018-09-27 11:15:40 +01:00
Tomasz Lauda 3d5958f78b ut: include missing headers
Includes missing headers.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
2018-09-27 11:39:09 +02:00