You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] [HDMI] setting on HDMI/DP pin will impact on other pins #1077
If the pins are connecting to the same converter, setting on HDMI/DP pin will impact on other pins.
For example, if pin5-port1 and pin6-port0 are both connected to the cvt3. If we mute pin5-port1, pin6-port0 will be muted automatically. But muting pin6-port0 will not mute pin5-port1 automatically.
How to reproduce:
(in DPMST mode, 1 monitor is connected to pin5-port1, 1 monitor is connected to pin6-port0)
in alsamixer, set "pin5-port1 Mux" to "cvt 3", "pin6-port0 Mux" to "cvt 3"; unmute "hif5-1 Jack" and "hif6-0 Jack"
playback with aplay -Dhw:0,3 xxx
mute "hif5-1 Jack"
And you will find the monitor which is connected to pin6-port0 is also muted.
After these days debug, I found this is a HW defect. The driver is OK. The dmesg is OK, and no any errors occurs in the kernel. So I will not attach the useless dmesg log.
@kv2019i We have root caused this bug. This is a HW limitation. If 2 pin connects to one converter, the setting on the 2 pins will impact on each other.
Test DPMST on cml with test recipe as below, pins connect to the same converter, but pins setting is disabled in alsamixer. So cannot reproduce the issue. When do DPMST test, two DP monitors can output sound automatically without setting pins in alsamixer.
Activity
libinyang commentedon Jul 4, 2019
After these days debug, I found this is a HW defect. The driver is OK. The dmesg is OK, and no any errors occurs in the kernel. So I will not attach the useless dmesg log.
kv2019i commentedon Jul 12, 2019
@libinyang I'll take this to my name and start investigating how to tackle this.
libinyang commentedon Jul 15, 2019
@kv2019i We have root caused this bug. This is a HW limitation. If 2 pin connects to one converter, the setting on the 2 pins will impact on each other.
kv2019i commentedon Aug 16, 2019
It seems #1123 is a feasible option to handle this limitation.
kv2019i commentedon Sep 12, 2019
#1123 now ready for testing (take #1155 and thesofproject/kconfig#15 to test), should fix this bug
YvonneYang2 commentedon Sep 16, 2019
Test DPMST on cml with test recipe as below, pins connect to the same converter, but pins setting is disabled in alsamixer. So cannot reproduce the issue. When do DPMST test, two DP monitors can output sound automatically without setting pins in alsamixer.
Environment
Firmware: 2bd725d https://github.com/thesofproject/sof/commits/master
Kernel: 6cf9ef0 https://github.com/thesofproject/linux/commits/topic/sof-dev + PR1155 + thesofproject/kconfig#15
tplg: sof-hda-generic-2ch.tplg
platform: CML
kv2019i commentedon Nov 4, 2019
This bug is now fixed with #1404 and #1422