Skip to content

Conversation

@checkupup
Copy link
Contributor

Added:

sof-hda-generic-dax.tplg
sof-hda-generic-2ch-dax.tplg
sof-hda-generic-cavs25-2ch-dax.tplg
sof-hda-generic-ace1-2ch-dax.tplg
sof-hda-generic-ace3-2ch-dax.tplg

@sofci
Copy link
Collaborator

sofci commented Jan 7, 2026

Can one of the admins verify this patch?

reply test this please to run this test once

@lgirdwood
Copy link
Member

test this please

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.

Just one question from me, @bardliao will need your guidance here for HDA topologies.

Added:

sof-hda-generic-dax.tplg
sof-hda-generic-2ch-dax.tplg
sof-hda-generic-cavs25-2ch-dax.tplg
sof-hda-generic-ace1-2ch-dax.tplg
sof-hda-generic-ace3-2ch-dax.tplg

Signed-off-by: Jun Lai <jun.lai@dolby.com>
DEEP_BUFFER_PIPELINE_SINK 'mixout.2.1'
DEEP_BUFFER_PCM_NAME 'Deepbuffer HDA Analog'
HDA_ANALOG_CAPTURE_RATE 48000
HDA_ANALOG_PLAYBACK_RATE 48000
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nitpick: The indentation is weird. Can we always use tab instead of space?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ack, please use tabs. The topology files use alsaconf language so we should align to upstream style (e.g. alsa-ucm repositories).

There are lot of exceptions for historical reasons and we haven't blocked PRs due to this, but for any new topology files, we should use consistent style.


"sof-hda-generic\;sof-hda-generic-2ch-dax\;HDA_CONFIG=dax,NUM_DMICS=2,\
DMIC0_ENHANCED_CAPTURE=true,EFX_DMIC0_TDFB_PARAMS=line2_generic_pm10deg,\
EFX_DMIC0_DRC_PARAMS=dmic_default,DOLBY_DAX_CORE_ID=1"
Copy link
Collaborator

Choose a reason for hiding this comment

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

@kv2019i I think we need PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-2ch-dax.bin,\ to include the DMIC NHL as DMIC is enabled, right?

Copy link
Collaborator

Choose a reason for hiding this comment

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

@bardliao This is ok, the sof-hda-generic variants with a platform (cavs25/ace1/ace3) name in the filename are on purpose without a NHLT blob. The assumption is that BIOS has correct NHLT info. We also ship variants with NHLT blobs in topology, but kernel will not load these automatically (tplg override must be used).

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.

Looks pretty good. One answer to Bard inline and a few additional minor comments.


"sof-hda-generic\;sof-hda-generic-2ch-dax\;HDA_CONFIG=dax,NUM_DMICS=2,\
DMIC0_ENHANCED_CAPTURE=true,EFX_DMIC0_TDFB_PARAMS=line2_generic_pm10deg,\
EFX_DMIC0_DRC_PARAMS=dmic_default,DOLBY_DAX_CORE_ID=1"
Copy link
Collaborator

Choose a reason for hiding this comment

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

@bardliao This is ok, the sof-hda-generic variants with a platform (cavs25/ace1/ace3) name in the filename are on purpose without a NHLT blob. The assumption is that BIOS has correct NHLT info. We also ship variants with NHLT blobs in topology, but kernel will not load these automatically (tplg override must be used).

DEEP_BUFFER_PIPELINE_SINK 'mixout.2.1'
DEEP_BUFFER_PCM_NAME 'Deepbuffer HDA Analog'
HDA_ANALOG_CAPTURE_RATE 48000
HDA_ANALOG_PLAYBACK_RATE 48000
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ack, please use tabs. The topology files use alsaconf language so we should align to upstream style (e.g. alsa-ucm repositories).

There are lot of exceptions for historical reasons and we haven't blocked PRs due to this, but for any new topology files, we should use consistent style.

EFX_DMIC0_TDFB_PARAMS=line4_pass,EFX_DMIC0_DRC_PARAMS=dmic_default"

"sof-hda-generic\;sof-hda-generic-cavs25-2ch-dax\;HDA_CONFIG=dax,NUM_DMICS=2,\
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-cavs25-2ch.bin,\
Copy link
Collaborator

Choose a reason for hiding this comment

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

This will be a no-op with no functional impact, but please use "NHLT_BIN=nhlt-sof-hda-generic-cavs25-2ch-dax.bin". The definitions are a bit redundant as the NHLT binary is always same as the tplg basename, but to pass the filename to nhtl-plugin in alsa-utils, we need to set NHLT_BIN in these cmake rules.

EFX_DMIC0_TDFB_PARAMS=line4_pass,EFX_DMIC0_DRC_PARAMS=dmic_default"

"sof-hda-generic\;sof-hda-generic-ace1-2ch-dax\;PLATFORM=mtl,HDA_CONFIG=dax,NUM_DMICS=2,\
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-ace1-2ch.bin,\
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ditto here for NHLT_BIN

EFX_DMIC0_TDFB_PARAMS=line4_pass,EFX_DMIC0_DRC_PARAMS=dmic_default"

"sof-hda-generic\;sof-hda-generic-ace3-2ch-dax\;PLATFORM=ptl,HDA_CONFIG=dax,NUM_DMICS=2,\
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-hda-generic-ace3-2ch.bin,\
Copy link
Collaborator

Choose a reason for hiding this comment

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

And here...

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.

5 participants