thesofproject / linux

Linux kernel source tree
Other
91 stars 133 forks source link

ASoC: SOF: ipc4-topology: Advertise passthrough capable PCMs (using ChainDMA) #4921

Closed ujfalusi closed 7 months ago

ujfalusi commented 7 months ago
If a PCM is set to use ChainDMA then add it to the card->components string
after a marker of iec61937-pcm:, for example on current HDA platforms where
HDMI is set to use ChainDMA:
iec61937-pcm:5,4,3 (the ordr of the PCM ids can differ)

UCM is expected to parse and use this property to allow applications to
use bytsestream passthrough in a standard way.
ujfalusi commented 7 months ago

Changes since v1:

ujfalusi commented 7 months ago

Changes since v2:

Likely going to WARN on HDA setups with dmic....

ujfalusi commented 7 months ago

Changes since v3:

ujfalusi commented 7 months ago

Changes since v4:

ujfalusi commented 7 months ago

Changes since v5:

ujfalusi commented 7 months ago

@plbossart, @kv2019i, @ranj063, I guess the main question around this is: will it scale to S/PDIF PCM and how we will deal with compress? Compress is, well, compressed and it has it's own API to query what it supports, so... I think this should scale for normal PCMs.

ujfalusi commented 7 months ago

Accompanying UCM patches: https://github.com/ujfalusi/alsa-ucm-conf/commits/topic/sof-hdmi/