summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRazvan Dinculescu <razvandinculescu@gmail.com>2026-11-02 21:04:17 +0200
committerTakashi Iwai <tiwai@suse.de>2026-11-05 08:54:45 +0100
commit459e02b74c51cd24ca437da2fa4668806150af1b (patch)
tree6c641bae6216dc8a5f780c6c3bb000c240b0df4d /scripts
parentba39a31448857da3b848174c9130b466b3ccddba (diff)
ALSA: hda/hdmi: Don't share an assigned converter on NVIDIA codecs
All pins of the NVIDIA HDMI/DP codecs share one connection list, so a converter can be selected by several pins at once. Unlike the Intel codecs (intel_not_share_assigned_cvt()), the NVIDIA ones never move an idle pin off the converter that another pin streams on, and the display that should play stays silent. Seen on an RTX 5090 (codec 0x10de00aa) with a DP monitor on pin 0x04 and an HDMI TV on pin 0x05. PipeWire probes every PCM at start-up: the monitor's PCM got converter 0x08 and kept it selected after closing, then the TV's PCM got 0x08 as well when it was opened. With both pins on 0x08 the TV played nothing, although its PCM was running and its ELD was valid. Opening the monitor's PCM while the TV's was running moved the monitor to 0x09 and the TV played at once. Restarting PipeWire put both pins back on 0x08. Implement pin_cvt_fixup for the generic NVIDIA model as Intel does: restore the pin's own converter selection, which snd_hda_hdmi_generic_pcm_prepare() relies on after the hardware drops it, then move every other connected pin that selects the assigned converter to an unassigned one. Look the converter up in each pin's own connection list instead of assuming the same order on every pin. Tested on that system with the TV's PCM on 0x08 and the monitor's on 0x09, both pins then forced onto 0x08 with hda-verb: a prepare on the TV's PCM moved the monitor off 0x08, and a prepare on the monitor's PCM put it back on 0x09. Signed-off-by: Razvan Dinculescu <razvandinculescu@gmail.com> Link: https://patch.msgid.link/20261102190417.2661176-1-razvandinculescu@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions