Bug 204133
Summary: | The HDMI audio on Intel Icelake platform doesn't work (fail rate is 1/5) | ||
---|---|---|---|
Product: | Drivers | Reporter: | Hui Wang (hui.wang) |
Component: | Sound(ALSA) | Assignee: | Jaroslav Kysela (perex) |
Status: | RESOLVED CODE_FIX | ||
Severity: | blocking | CC: | tiwai |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 5.2-rc7 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
dmesg with hdim audio worked
dmesg with the hdmi audio failed A fix for invalid port/pin mapping |
Description
Hui Wang
2019-07-11 06:46:34 UTC
Created attachment 283615 [details]
dmesg with hdim audio worked
Created attachment 283617 [details]
dmesg with the hdmi audio failed
0xf81 is Intel-specific verb and the stall implies that something went wrong in GPU side. Better to report to Intel people. BTW, the error below appears frequently: snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin nid 5 not registered I guess this is a bug due to the lack of reverse port/pin mapping in HDMI codec driver. The patch below should address it. Could you check it? But I'm not sure whether this is relevant with the codec stall at all. Please check which code path triggers the codec error. You can put a WARN_ON() at the error message line, for example. It's likely the runtime PM resume path, and if so, it's either intel_haswell_enable_all_pins() or intel_haswell_fixup_enable_dp12() call. Both of them are basically superfluous for runtime PM resume, and we may skip it conditionally. Created attachment 283711 [details]
A fix for invalid port/pin mapping
Thank you, saw your patch in the ML, and I will test the patch and update the test result soon (you could merge your patch first, no need to wait for my testing result since your patch really fix sth). Tested the patch, it worked very well, the problem is fixed. And close this bug. |