alsa-project / alsa-ucm-conf

ALSA Use Case Manager configuration
BSD 3-Clause "New" or "Revised" License
76 stars 216 forks source link

ucm2: soundwire: rt722: add ConflictingDevice in each device #441

Closed shumingfan closed 1 month ago

shumingfan commented 1 month ago

This patch allows only one input and one output to be opened simultaneously.

perexg commented 1 month ago

What problem are you trying to resolve? If hardware is capable to use all inputs/outputs simultatenously, we should not block this in UCM.

plbossart commented 1 month ago

SDCA functions are supposed to operate independently, I am not sure why there would be a conflict @shumingfan @bardliao? There may be bandwidth restrictions but that's for the Manager to solve with the multi-lane or higher clock rates capabilities.

bardliao commented 1 month ago

That is about the bandwidth issue. Currently Intel platforms can support 3 devices work concurrently. We are working on the multi-lane and higher clock rates support. This PR can buy us some time.

plbossart commented 1 month ago

the last thing you want is to play the clock with UCM changes, it's nearly impossible to synchronize UCM changes with kernel additions, so the best course of action is to do the right thing at the kernel level.

shumingfan commented 1 month ago

@plbossart @bardliao OK, we focus on the kernel level first. closing