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

topology2: add development tplg to test playback with 2 cores #7775

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

mengdonglin
Copy link
Collaborator

@mengdonglin mengdonglin commented Jun 9, 2023

This is to allow CI to test a simple multicore playback case on MTL: SSP0 playback on core 0 and SSP2 playback on core 1.

Capture uses core 0 only atm. More multicore usage will be introduced later.

The topology binary is sof-platform-nocodec-multicore-ssp0-ssp2.tplg. It reuses existing SSP1_ENABLED = false to restrict number of pipelines.

Tested on MTL and TGL RVP.
image

Update history:
v2: remove unnecessary 'SSP0_CORE_ID=0' as core 0 is default.
v3: add the same 2-core topology for TGL, so we can compare test result on MTL and TGL.
v4: add the same 2-core topology to ADL, for testing on one more platform.

@@ -37,6 +37,9 @@ DEEPBUFFER_D0I3_COMPATIBLE=true"
"cavs-nocodec-multicore\;sof-mtl-nocodec-multicore\;PLATFORM=mtl,SSP1_ENABLED=true,SSP0_CORE_ID=0,\
SSP1_CORE_ID=1,SSP2_CORE_ID=2,PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-mtl-nocodec.bin"

"cavs-nocodec-multicore\;sof-mtl-nocodec-multicore-ssp0-ssp2\;PLATFORM=mtl,SSP1_ENABLED=false,\
SSP0_CORE_ID=0,SSP2_CORE_ID=1,PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-mtl-nocodec.bin"
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit-pick: SSP0_CORE_ID is 0 by default. so no need to set it again here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

nit-pick: SSP0_CORE_ID is 0 by default. so no need to set it again here
@ranj063 Thank you! I've removed this.

@mengdonglin
Copy link
Collaborator Author

mengdonglin commented Jun 9, 2023

@kv2019i @plbossart Can you help review this PR ? The CI failures are not caused by this topology PR as we haven't enabled multi-core test yet. This PR is to allow regular CI testing from a simple multi-core case.

@mengdonglin
Copy link
Collaborator Author

mengdonglin commented Jun 9, 2023

@ranj063 @RanderWang @plbossart @kv2019i I also add the same 2-core nocodec topology for TGL. So we can compare test results on MTL and TGL.

This is to allow CI to test a simple multicore playback case on
MTL/TGL/ADL: SSP0 playback on core 0 and SSP2 playback on core 1.

Capture uses core 0 only atm. More multicore usage will be
introduced later.

Signed-off-by: Mengdong Lin <[email protected]>
@kv2019i
Copy link
Collaborator

kv2019i commented Jun 12, 2023

Manifest-check failing due to regression, fix in #7782

Otherwise looks normal, proceeding with merge.

@kv2019i kv2019i merged commit a5c0c49 into thesofproject:main Jun 12, 2023
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