-
Notifications
You must be signed in to change notification settings - Fork 321
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: Modify the HDMI number to support the Rex variant #8131
Conversation
HEADSET_SSP_DAI_INDEX=2,SPEAKER_SSP_DAI_INDEX=0,HEADSET_CODEC_NAME=SSP2-Codec,SPEAKER_CODEC_NAME=SSP0-Codec,\ | ||
BT_NAME=SSP1-BT,BT_INDEX=1,BT_ID=8,BT_PCM_NAME=Bluetooth,INCLUDE_ECHO_REF=true,USE_CHAIN_DMA=true,\ | ||
DEEPBUFFER_FW_DMA_MS=10,DEEPBUFFER_D0I3_COMPATIBLE=true" | ||
NUM_HDMI=3,HEADSET_SSP_DAI_INDEX=2,SPEAKER_SSP_DAI_INDEX=0,SPK_ID=6,HEADSET_CODEC_NAME=SSP2-Codec,\ |
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.
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.
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.
@bardliao @plbossart - If this is included in the mtl.conf, other topologies would affect as below information still exists for one configuration
https://github.com/thesofproject/linux/blob/topic/sof-dev/sound/soc/intel/boards/sof_rt5682.c#L188
Should we need to update with NUM_DMICS=4 for these topologies?
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.
@udaymb if there's 1 topology with NUM_HDMIS=4, then thats the one that needs to override it at build time. Please make 3 the default and set it to 4 where needed
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.
Updated the commit
826d51a
to
cd68253
Compare
@plbossart good for you ? and do you want a followup PR for NUM_DMICS=4 ? |
yes I think we need to do the right thing and only use 3 HDMI across the board. |
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.
So due to one less HDMI PCMs the BT ans speaker IDs are shifted down? SPK_ID = 7 default coming from some file and overridden here?
I guess this is Ok. However I'd urge to put all possible explanations into the commit message. These topo2 makefile changes are hardly self explanatory.
The code looks good. However, we need to revisit the machine driver. We have SOF_RT5682_NUM_HDMIDEV(4) for some Rex variants. We need to make sure machine driver and topology are aligned. |
@bardliao is this something you do in the machine driver ? |
cd68253
to
04b458c
Compare
@jsarha - Updated the cmake file and commit message accordingly |
No, that was not me. |
…orm file NUM_HDMIS is set to 3 as default value for MTL platform. SPK_ID and BT_ID are modified based on this change in the target cmake file. Signed-off-by: Yong Zhi <[email protected]> Signed-off-by: Uday M Bhat <[email protected]>
04b458c
to
652e1fe
Compare
@plbossart @ranj063 @jsarha Please share your comments and support to merge this PR |
Modify NUM_HDMIS to 3 to support the Rex variant. Based on this change, SPK_ID and BT_ID is modified.