Skip to content

Conversation

@aiChaoSONG
Copy link
Collaborator

This patch adds the WoV test topolgy on HDA platform.
Previously #7106.

WoV feature test topology was added on nocodec platform, however, for MTL, there is pin conflict between SSP2 and DMIC, so we add WoV test topology on HDA platform.

This patch only adds topology for MTL, because MTL requires DMIC_DRIVER_VERSION==3, this is not true for TGL/ADL, it is not possible to use one topology for both. If needed, we can add a new topology for TGL/ADL, too.

This patch adds the WoV test topology on HDA platform.

Signed-off-by: Chao Song <chao.song@linux.intel.com>
# HDA topology with WoV enabled
"sof-hda-generic\;sof-mtl-hda-generic-2ch-kwd\;PLATFORM=mtl,HDA_CONFIG=mix,NUM_DMICS=2,\
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-mtl-hda-generic-2ch-kwd.bin,INCLUDE_WOV=true,\
DEEPBUFFER_FW_DMA_MS=100"
Copy link
Contributor

Choose a reason for hiding this comment

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

should we have test modules in generic, used in real devices, products topology? I don't really want to have this on my personal laptop, to be honest...

Copy link
Collaborator

Choose a reason for hiding this comment

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

@ujfalusi This is in development/ folder, not to be shipped (e.g. sod-hda-src-generic is not shipped).

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, right, it was not indicated in commit title or message..

# HDA topology with WoV enabled
"sof-hda-generic\;sof-mtl-hda-generic-2ch-kwd\;PLATFORM=mtl,HDA_CONFIG=mix,NUM_DMICS=2,\
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-mtl-hda-generic-2ch-kwd.bin,INCLUDE_WOV=true,\
DEEPBUFFER_FW_DMA_MS=100"
Copy link
Collaborator

Choose a reason for hiding this comment

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

@ujfalusi This is in development/ folder, not to be shipped (e.g. sod-hda-src-generic is not shipped).

# HDA topology with WoV enabled
"sof-hda-generic\;sof-mtl-hda-generic-2ch-kwd\;PLATFORM=mtl,HDA_CONFIG=mix,NUM_DMICS=2,\
PREPROCESS_PLUGINS=nhlt,NHLT_BIN=nhlt-sof-mtl-hda-generic-2ch-kwd.bin,INCLUDE_WOV=true,\
DEEPBUFFER_FW_DMA_MS=100"
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, right, it was not indicated in commit title or message..

DMIC1_HOST_PIPELINE_SINK 'copier.host.16.1'
DMIC_WOV_DAI_PIPELINE_SRC 'copier.DMIC.17.1'
DMIC_WOV_DAI_PIPELINE_KPB 'kpb.17.1'
WOV_PIPELINE_SINK 'micsel.18.1'
Copy link
Contributor

Choose a reason for hiding this comment

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

The dmic-default.conf defines this:
WOV_PIPELINE_SINK 'micsel.20.1'
and most of these are also found in there, so we change them here? Why not in there?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

dmic-default.conf defines the default values used commonly for dmic, in most cases, if there is exception, we should do the change in the top-level topology.

Copy link
Member

@plbossart plbossart left a comment

Choose a reason for hiding this comment

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

The pin-mux issues between DMIC and SSP1 is not a good-reason why we need to test WoV with HDaudio platforms.

That pin-mux issue must be solved even without adding WoV.

I don't know where this was discussed but I strongly object to this PR.

@aiChaoSONG
Copy link
Collaborator Author

That pin-mux issue must be solved even without adding WoV.

I will contact @fredoh9, see if there is any solution to fix the pin-mux. If no, this draft PR:#7239 removes SSP1 pipelines only for MTL and prepare the cavs-nocodec.conf to enable Wov on MTL nocodec

@aiChaoSONG
Copy link
Collaborator Author

Quote @fredoh9

there is no solution, BIOS team said pin-mux between SSP1 and DMIC is expected.

Let's focus on #7239, close

@aiChaoSONG aiChaoSONG closed this Mar 13, 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.

5 participants