Hey,
thanks Takashi. A small correction still:
On Tue, 3 Dec 2019, Takashi Iwai wrote:
The commit 609f5485344b ("ALSA: hda: hdmi - preserve non-MST PCM routing for Intel platforms") tried to restore the old behavior wrt assignment of the PCM slot for Intel platforms, but this didn't do it right. As found in the later discussion, even on non-MST, a positive pipe id is passed, which is equivalent with dev_id on Intel.
Small correction still:
""As found in the later discussion, a positive pipe id can be passed for single monitor attachment case.""
This patch reverts the previous attempt and applies a simpler workaround instead. Actually, for Intel platforms, we can handle as if per_pin->dev_id=0, assign the primary slot at the first try. This assures the compatible behavior with the previous versions regarding the slot assignment.
This applies. So if you have a DP-MST case with a single monitor and dev_id>0, this patch assure compatible behaviour with past versions.
Br, Kai