~canonical-hwe-team/hwe-next/+git/sof:amd-rn-common

Last commit made on 2022-09-25
Get this branch:
git clone -b amd-rn-common https://git.launchpad.net/~canonical-hwe-team/hwe-next/+git/sof

Branch merges

Branch information

Name:
amd-rn-common
Repository:
lp:~canonical-hwe-team/hwe-next/+git/sof

Recent commits

3f03b75... by Balakishorepati <email address hidden>

module_adapter:Fix dangling pointer issue in module reset

During module_reset and module_free Calls, pointers are not
getting reset to NULL which causes dangling pointer exceptions.
Initialize pointers to NULL after deallocating the memory.

Signed-off-by: Balakishorepati <email address hidden>
(cherry picked from commit 53b3bc6a956ae5957966336f88980438f1f85a88)

9d0ffb2... by Ranjani Sridharan <email address hidden>

module_adapter: Modify reset API

Modify the definition of the reset API in the module adapter interface
to make sure that it should reset the module state back to
MODULE_INITIALIZED and free all memory that was allocated during the
prepare() callback. With this change, stopping and restarting streams
will always be guaranteed to invoke the module's prepare() callback.
Also, fix the passthrough and cadence codec implementation to follow the
new definition.

Signed-off-by: Guennadi Liakhovetski <email address hidden>
Signed-off-by: Ranjani Sridharan <email address hidden>
(cherry picked from commit b9889d52d0e1b6002ee016b55fa0487544fc0593)

e60b581... by Pin-chih Lin <email address hidden>

module_adapter: get the actual period_bytes

At present module_adapter, period_bytes is calculated assuming the schedule
period is 1ms, which could be arbitrary in practice determined by the
topology.

This commit replaces the calculation code by audio_stream_period_bytes().
In addition, the timing for getting period_bytes is moved to the beginning
of prepare() (prior to the module prepare). At that moment it is guaranteed
that all parameters in components/buffers are settled through the pipeline.

Signed-off-by: Pin-chih Lin <email address hidden>
(cherry picked from commit b3106c396e540c260bba3b08c218f6598ea74726)

75f4908... by Balakishorepati <email address hidden>

drivers:amd: Fix aclk issue in standalone dmic usecase

Change aclk to max or minimum during playback,capture
usecases start and stop based on dmic status.

Signed-off-by: Balakishorepati <email address hidden>

87525d6... by Balakishorepati <email address hidden>

drivers: amd: renoir: Fix no audio issue.

while simultaneous playback and internal mic capture usecases
are running, there is a case where dmic driver was clearing the
playback interrupt.This might cause noise in playback or no audio
in speaker.Done changes to clear only dmic interrupt status only
in dmic irq handler.

Signed-off-by: Balakishorepati <email address hidden>

8ba1817... by Balakishorepati <email address hidden>

drivers: amd: renoir: fix avail and free for capture path

Fix avail and free bytes for capture path.

Signed-off-by: Balakishorepati <email address hidden>

2ad279e... by Balakishorepati <email address hidden>

platform: amd: Add window information

Add sram window structure to update window info
to host.

configure dma descriptor base and count during firmware bootup.

Signed-off-by: Balakishorepati <email address hidden>

04b807d... by Balakishorepati <email address hidden>

drivers:amd: add support to change aclk

Add support to configure aclk based on active stream requests.

Signed-off-by: Balakishorepati <email address hidden>

9a0189d... by Balakishorepati <email address hidden>

drivers:renoir: fix avail and free bytes for SP mode

Fix avail, free based on buffer size for SP mode.

Signed-off-by: Balakishorepati <email address hidden>

e47d974... by Balakishorepati <email address hidden>

platform:renoir: increase SRAM inbox and outbox size to 1024

Increase SRAM_OUT_BOX, SRAM_IN_BOX sizes to 1024.

DTS algorithm would need 72000 bytes to run.
Allocate more heap buffer size for DTS.

Signed-off-by: Balakishorepati <email address hidden>