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 topologies for SDCA functions #9668

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bardliao
Copy link
Collaborator

Add topologies for each sdca function. Linux kernel will load the corresponding topology per sdca function. The naming rule is sof---

This is a preparation commit for splitting topologies by devices.
That means we will have generic hda topologies without HDMI.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

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

@ranj063 pls review

@bardliao bardliao changed the title [DNM] Topology2: add topologies for SDCA functions Topology2: add topologies for SDCA functions Nov 27, 2024
@bardliao bardliao marked this pull request as ready for review November 27, 2024 01:48
@bardliao
Copy link
Collaborator Author

CI test result #47819 looks good.

Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

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

LGTM, @ranj063 @ujfalusi pls review

@@ -110,6 +110,30 @@ SDW_JACK_OUT_STREAM=Playback-SimpleJack,SDW_JACK_IN_STREAM=Capture-SimpleJack"
SDW_AMP_FEEDBACK=false,SDW_SPK_STREAM=Playback-SmartAmp,SDW_DMIC_STREAM=Capture-SmartMic,\
SDW_JACK_OUT_STREAM=Playback-SimpleJack,SDW_JACK_IN_STREAM=Capture-SimpleJack"

#SDCA multi-function
Copy link
Collaborator

Choose a reason for hiding this comment

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

@bardliao 2 questions:

  1. WHy is the BE ID important in the topology name?
  2. Why do you need to make HDMI optional based on the number of HDMI's in sof-hda-generic in the first patch when that you never modify NUM_HDMI for any of the HDMI topologies?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@bardliao 2 questions:

  1. WHy is the BE ID important in the topology name?

The BE id in the topology should match the BE id exposed by the machine driver.
And BE id could be different between devices. For example, HDMI BE ids depends on how many SDW links are created and is PCH DMIC link is created.

  1. Why do you need to make HDMI optional based on the number of HDMI's in sof-hda-generic in the first patch when that you never modify NUM_HDMI for any of the HDMI topologies?

I would like to split the sof-hda-generic topology in the end. So, we need to make HDMI optional and remove the HDMI part from the generic sof-hda-generic topologies.

Add topologies for each sdca function. Linux kernel will load the
corresponding topology per sdca function. The naming rule is
sof-<platform>-<function>-<BE id>

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
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.

3 participants