Skip to content

Tools: rimage / topology2: ASRC component related fixes - #9849

Merged
lgirdwood merged 2 commits into
thesofproject:mainfrom
singalsu:asrc_add_rimage
Feb 25, 2025
Merged

lgirdwood merged 2 commits into
thesofproject:mainfrom
singalsu:asrc_add_rimage

Conversation

@singalsu

Copy link
Copy Markdown
Collaborator

No description provided.

@singalsu

singalsu commented Feb 20, 2025 •

Copy link
Copy Markdown
Collaborator Author

WIP - I'm still working with issue with kernel support for this. This should address issue #9845 .

@lgirdwood lgirdwood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM so far

@singalsu
singalsu requested a review from lgirdwood February 21, 2025 14:05
@singalsu
singalsu marked this pull request as ready for review February 21, 2025 14:05
@singalsu

Copy link
Copy Markdown
Collaborator Author

This looks now complete, with linux patch thesofproject/linux#5335 things work for me.

Comment thread tools/rimage/config/tgl-h.toml Outdated
affinity_mask = "0x3"
instance_count = "2"
domain_types = "0"
load_type = LOAD_TYPE

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs fix, should be "0"

This change includes ASRC component into firmware for TGL
and TGL-H platforms. The .toml entry for ASRC is copied
from asrc.toml data for MTL. This is enough to be able to
run and test ASRC in TGL platforms.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This patch fixes the configuration tokens for ASRC with IPC4,
the tokens asynchronous_mode and rate_in from IPC3 are not
valid. In IPC4 all the control is packed to bit-fiels in
operation mode. Token rate_out is in use as before.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>

@lgirdwood lgirdwood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lyakh good for you ?

@lyakh

lyakh commented Feb 25, 2025

Copy link
Copy Markdown
Collaborator

@lyakh good for you ?

@lgirdwood this PR touches TGL, which doesn't use LLEXT, and topology2, which I cannot verify by just looking at the PR. So I'm afraid I don't have any specific input to this PR. If it works with ASRC in monolithic MTL+ configurations, it should work with LLEXT too.

@lgirdwood
lgirdwood merged commit 1ae78f0 into thesofproject:main Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants