Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tools: Testbench: Convert file component to module adapter #9432

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

singalsu
Copy link
Collaborator

@singalsu singalsu commented Sep 3, 2024

This is done as preparation for testbench IPC4 support. The update to IPC4 is simpler for a module adapter component.

@singalsu
Copy link
Collaborator Author

singalsu commented Sep 3, 2024

I've split out this from testbench IPC4 draft PR to ease review of large PR. I'll address the comments for file here.

file_uuid->d[4] = 0x08;
file_uuid->d[5] = 0xa6;
file_uuid->d[6] = 0x98;
file_uuid->d[7] = 0xc2;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was commented by Liam in #9025, is there a nicer way to set this with a macro?

Copy link
Collaborator

Choose a reason for hiding this comment

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

define a static const UUID and memcpy() it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yep, that works, thanks!

Copy link
Collaborator

@kv2019i kv2019i left a comment

Choose a reason for hiding this comment

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

Look ok to me, one comment inline

if (IPC_TAIL_IS_SIZE_INVALID(*file))
return -EBADMSG;
case SOF_COMP_FILEREAD:
case SOF_COMP_FILEWRITE:
config->file.channels = file->channels;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think you need to keep the check on L218-219 (added recently).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oops yes, missed this in rebase.

This is done as preparation for testbench IPC4 support. The
update to IPC4 is simpler for a module adapter component.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
@singalsu
Copy link
Collaborator Author

There's a build fail in https://sof-ci.01.org/sof-pr-viewer/#/build/PR9432/build14219918, trying again.

@singalsu
Copy link
Collaborator Author

SOFCI TEST

@lgirdwood
Copy link
Member

@wszypelt @lrudyX good for merge ?

@singalsu
Copy link
Collaborator Author

The Jenkins failures sof-ci/jenkins/pr-device-test/main-ace and sof-ci/jenkins/pr-device-test/main-lnl are not related. The Internal Intel CI System/merge/build that previously failed is now passed.

@lgirdwood lgirdwood merged commit 9d1177a into thesofproject:main Sep 17, 2024
43 of 47 checks passed
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