-
Notifications
You must be signed in to change notification settings - Fork 322
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 a mixin-mixout level to nocodec #6981
Conversation
@@ -512,3 +519,8 @@ Object.Base { | |||
} | |||
|
|||
} | |||
|
|||
IncludeByKey.SSP0_MIXER_2LEVEL { | |||
"0" "platform/intel/nocodec-ssp0-1level.conf" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lyakh there's pending PR in alsa-utils that allows us to include short conf blocks without vreating a new conf file. alsa-project/alsa-utils#187. It will be good to use that after it is merged
SOFCI TEST |
on-device test got stuck, retrigger |
SOFCI TEST |
@plbossart @lgirdwood took me a while but here's how we can make this per-platform. This approach to selecting "ID ranges" and making sure they don't overlap is ugly, but I'm not aware of a better solution with topology2. |
Opened #6985 to address ID hard-coding |
@ranj063 whats the plan here wrt the ALSA update, i.e. do you want ALSA update merged first and this reworked to use it ? |
src/include/ipc4/base_fw.h
Outdated
@@ -42,7 +42,7 @@ | |||
#define IPC4_MAX_LIBS_COUNT 16 | |||
|
|||
/* Max pipeline count supported by ipc4 */ | |||
#define IPC4_MAX_PPL_COUNT 16 | |||
#define IPC4_MAX_PPL_COUNT 32 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marcinszkudlinski @abonislawski @mwasko fyi - any issue here ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lgirdwood looks good to me, I believe it should be 32 at a first place. @mmaka1?
@lgirdwood yes, if this is not urgent i'd like to wait until after the alsautils PR. |
|
@lyakh ping |
@lgirdwood alsa-utils PR from @ranj063 has now been dropped in favour of an alternative approach completely internal to SOF. @ranj063 has developed a PR to convert SOF to that new approach, once it's merged we should be able to proceed with this PR too. |
Add a second level of mixin-mixout mixing and a PCM to the nocodec topology. Signed-off-by: Guennadi Liakhovetski <[email protected]>
@plbossart this now looks like https://learn.microsoft.com/en-us/windows-hardware/drivers/audio/audio-processing-object-architecture but with 3 playback PCMS and not 4 as per Microsoft diagram, good for you ? |
@@ -13,7 +13,9 @@ set(TPLGS | |||
|
|||
# CAVS SSP topology for TGL | |||
"cavs-nocodec\;sof-tgl-nocodec\;NUM_DMICS=4,PDM1_MIC_A_ENABLE=1,PDM1_MIC_B_ENABLE=1,\ | |||
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-tgl-nocodec.bin,DEEPBUFFER_FW_DMA_MS=100" | |||
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-tgl-nocodec.bin,DEEPBUFFER_FW_DMA_MS=100,\ | |||
SSP0_MIXER_2LEVEL=1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lyakh this is good but why not MTL too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ranj063 because we don't test MTL in PR CI yet. Maybe we can enable MTL separately after this one is merged and has run a daily test
@plbossart good now ? |
@plbossart ping, good for you ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought this was merged eons ago... Time to get this in and break more things haha.
Add a second level of mixin-mixout mixing and a PCM to the nocodec topology. Note, that it adds more hard-coded pipeline, route and PCM numbers in included topology files, but apparently there's no way ATM to specify those numbers at the caller level