Skip to content

tools: tplgtool2: handle graph-only feature topology nodes#1361

Open
ujfalusi wants to merge 1 commit into
thesofproject:mainfrom
ujfalusi:peter/topic/tplgtool2-feature-support
Open

tools: tplgtool2: handle graph-only feature topology nodes#1361
ujfalusi wants to merge 1 commit into
thesofproject:mainfrom
ujfalusi:peter/topic/tplgtool2-feature-support

Conversation

@ujfalusi
Copy link
Copy Markdown
Contributor

@ujfalusi ujfalusi commented Jun 5, 2026

Feature topologies may contain graph endpoints that do not map to a DAPM widget (for example, mixout.21.1).

Make tplgtool2 robust to these graph-only nodes instead of raising KeyError while building graph metadata. Keep the issue visible by emitting a warning and by rendering graph-only nodes with a distinct style and label in graph output.

This keeps parsing and rendering usable for feature topologies while still surfacing broken/incomplete graph<->widget mappings.

Feature topologies may contain graph endpoints that do not map to a
DAPM widget (for example, mixout.21.1).

Make tplgtool2 robust to these graph-only nodes instead of raising
KeyError while building graph metadata. Keep the issue visible by
emitting a warning and by rendering graph-only nodes with a distinct
style and label in graph output.

This keeps parsing and rendering usable for feature topologies while
still surfacing broken/incomplete graph<->widget mappings.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
@ujfalusi ujfalusi requested review from a team, golowanow, lgirdwood and marc-hb as code owners June 5, 2026 12:12
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.

1 participant