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

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

Branch merges

Branch information

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

Recent commits

471ffa7... by Pin-chih Lin <email address hidden> on 2020-08-11

src: math: move iir_df2t function to src/math

Moved iir_df2t() from src/audio/eq_iir to src/math as a common library for IIR
and Crossover usage.

Signed-off-by: Pin-chih Lin <email address hidden>

ab38ccb... by Pin-chih Lin <email address hidden> on 2020-07-31

tools: tplg_parser: Add Crossover component

Add Crossover component for tplg_parser.

Signed-off-by: Pin-chih Lin <email address hidden>

53c49fd... by Sebastiano Carlucci <email address hidden> on 2020-04-17

tools: tune: Add tools to generate ctrl bytes for Crossover

This commit adds the tools to generate the control bytes for the
crossover component. To generate the control bytes, run the
example_crossover.m script.

The parameters of the crossover components are:
- number of outputs
- sink assignments (routing crossover output to different pipelines)
- frequency cutoffs

To tweak the parameters modify the values in example_crossover.m and run
it.

Refer to sof/src/include/user/crossover.h for more information on how
the crossover config is structured and how sink assignments are done.

Signed-off-by: Sebastiano Carlucci <email address hidden>

4cabd42... by Sebastiano Carlucci <email address hidden> on 2020-04-16

tools: topology: Add crossover topology files

This commit adds the topology files for the crossover component.
The control bytes are generated by the tools in tune/crossover.

Signed-off-by: Sebastiano Carlucci <email address hidden>

82a9237... by Sebastiano Carlucci <email address hidden> on 2020-04-16

sof: crossover: Add Crossover component

This commit adds Crossover to the list of SOF components. A crossover
filter can be used to split an input to different frequency bands.
The number of outputs should be set statically in the topology. The user
then uses the control bytes to route the frequency bands to different
outputs. (similar to the demux component).

This commit adds support for the following formats:
- S16_LE
- S24_LE
- S32_LE

Signed-off-by: Sebastiano Carlucci <email address hidden>

3c1667f... by Sebastiano Carlucci <email address hidden> on 2020-04-07

sof: eq_iir: modularize iir_df2t() function

This commit extracts the biquad processing from iir_df2t(). It allows to
reuse the biquad processing code independently of the equalizer
implementation.

Components such as crossover use biquads for processing input.
But it could not do so because iir_df2t() was specific to single output
audio processing.

The motivation behind this change was to reuse the
coefficients of the LR4 biquads for the crossover more freely. An LR4
filter is made of two biquads in series with same coefficients.
Therefore to save memory, we can store one copy of each set of
coefficient, and pass those to the biquad processing function.

Signed-off-by: Sebastiano Carlucci <email address hidden>

1b49c6a... by Pierre-Louis Bossart <email address hidden> on 2020-07-28

Revert "schedule: edf: cycles budget"

This reverts commit e003afe582e41c4a8a52b21d45dbc83c166021a5.

Signed-off-by: Pierre-Louis Bossart <email address hidden>

3d4e658... by Pierre-Louis Bossart <email address hidden> on 2020-07-28

Revert "drivers: cavs: set budget for IPC task"

This reverts commit e8dc076f7ad70325c6061fb016267f72c78e2ff8.

Signed-off-by: Pierre-Louis Bossart <email address hidden>

28c3fd7... by Pierre-Louis Bossart <email address hidden> on 2020-07-28

Revert "idc: set budget for IDC task"

This reverts commit 443319a7186b47b8e51fad4ee481b57bcabf476d.

Signed-off-by: Pierre-Louis Bossart <email address hidden>

7390933... by Julien Olivain <email address hidden> on 2020-07-27

drivers: imx: sdma: rewrite C99 for loops as C90

When compiling with Xtensa Tools xt-xcc, fixes the compilation error:

  sof/src/drivers/imx/sdma.c: In function ‘sdma_register_init’:
  sof/src/drivers/imx/sdma.c:192: error: ‘for’ loop initial declaration used outside C99 mode
  sof/src/drivers/imx/sdma.c:195: error: redefinition of ‘i’
  sof/src/drivers/imx/sdma.c:192: error: previous definition of ‘i’ was here
  sof/src/drivers/imx/sdma.c:195: error: ‘for’ loop initial declaration used outside C99 mode

This patch simply rewrite loops as C90 "for" loops declaring "int i"
outside the loop.

Signed-off-by: Julien Olivain <email address hidden>
Signed-off-by: Daniel Baluta <email address hidden>