~canonical-hwe-team/hwe-next/+git/sof:sof-dev

Last commit made on 2019-10-11
Get this branch:
git clone -b sof-dev https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
sof-dev
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

c7d0149... by Tomasz Lauda <email address hidden> on 2019-10-11

pipeline: fix tasks initialization

Fixes tasks initialization for connected pipelines.
If we play on pipeline, which is not the owner of
the scheduling component, then the pipeline_prepare()
is not called on pipe owning that component and tasks
stay unitialized.

Fixes: de7d4c95cfbd ("pipeline: allocate pipe_task only if needed")

Signed-off-by: Tomasz Lauda <email address hidden>

66b0a0f... by Jakub Dabek <email address hidden> on 2019-08-08

memory: Add alignment option for allocation

Add alignment option for memory requests.
Fix alloc definitions for UT.
Function definitions were using defines in their body
which blocked usage of const values in said defines.

Signed-off-by: Jakub Dabek <email address hidden>

0bc4e9f... by Jakub Dabek <email address hidden> on 2019-08-08

host: Fix memory function definitions

Fix alloc definitions for host build.
Function definitions were using defines in their body
which blocked usage of const values in said defines.

Signed-off-by: Jakub Dabek <email address hidden>

823e57a... by Jakub Dabek <email address hidden> on 2019-09-10

memory: adjust memory sizes for heaps

Adjust memory sizes for heaps to provide
enough memory for alignment in buffer heap.

Signed-off-by: Jakub Dabek <email address hidden>

51a6c9c... by Paul Olaru <email address hidden> on 2019-09-25

drivers: generic: dummydma: Add config option

This config option also encapsulates a required dependency on
HOST_PTABLE.

Signed-off-by: Paul Olaru <email address hidden>

f1e249d... by Paul Olaru <email address hidden> on 2019-09-19

drivers: dummydma: Move the driver file to generic/

This driver can apply to any platform with the buffers in shared memory,
not just to i.MX.

Signed-off-by: Paul Olaru <email address hidden>

4bee59c... by Paul Olaru <email address hidden> on 2019-09-23

drivers: imx: dummydma: Change number of channels

This is to optimize memory consumption from this driver. With 32
channels we would have needed a memory block >1024 bytes in size to
allocate the dma_chan_data array. However 16 channels (which means
allocating a smaller block) should be enough for everyone.

Signed-off-by: Paul Olaru <email address hidden>

9035c1f... by Paul Olaru <email address hidden> on 2019-10-09

drivers: imx: Add Dummy DMA driver initial implementation

The dummy DMA is a software-based DMA which acts as a host DMA. This
one can be implemented in software alone because all host physical
address space (at least the RAM portion) is accessible directly from
the DSP on this platform.

The driver works by taking the physical addresses for both the source
and destination addresses from the elems. This works because no paging
is enabled on the DSP side, and because the page tables interpretation
allows these elements to actually have physical addresses on the host
side. Given these addresses, the copy itself is done synchronously on
the DSP within a memcpy_s call.

Signed-off-by: Paul Olaru <email address hidden>

d384b85... by Paul Olaru <email address hidden> on 2019-10-04

platform: imx: Implement page tables for DMA transfer.

Enabling this config option changes the way the SG elems are generated,
such that the host addresses in the elems are actual, physical
addresses.

This is required by the Dummy DMA driver, which can only operate with
said physical addresses.

This commit enables the config option and fixes compile errors which
appeared after this enabling.

Signed-off-by: Paul Olaru <email address hidden>

8e4d0c9... by Tomasz Lauda <email address hidden> on 2019-10-03

pipeline: trigger pipeline in non-atomic context

With new schedulers implementations we don't need to trigger
pipeline in atomic context anymore.

Signed-off-by: Tomasz Lauda <email address hidden>