drm/i915/snd_hda_codec_hdmi "crash" leading to Xorg hang
Hello, I'm using Arch Linux x86_64 and run kernel 5.10.4. On a system with monitor connected by HDMI cable I see following in dmesg:
[72129.500531] INFO: task Xorg:698 blocked for more than 1228 seconds.
[72129.500533] Not tainted 5.10.4-1-ck #1
[72129.500533] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[72129.500534] Xorg D stack: 0 pid: 698 ppid: 1 flags:0x00004084
[72129.500536] Call Trace:
[72129.500540] __schedule+0x5f7/0xd60
[72129.500542] schedule+0x5b/0xc0
[72129.500543] schedule_preempt_disabled+0x11/0x20
[72129.500544] __mutex_lock.constprop.0+0x17d/0x4f0
[72129.500548] sync_eld_via_acomp+0x3f/0x350 [snd_hda_codec_hdmi]
[72129.500550] check_presence_and_report+0x57/0x80 [snd_hda_codec_hdmi]
[72129.500578] intel_audio_codec_enable+0x11f/0x180 [i915]
[72129.500598] intel_enable_ddi+0x446/0x5a0 [i915]
[72129.500617] intel_encoders_enable+0x74/0xa0 [i915]
[72129.500634] hsw_crtc_enable+0x1c3/0x5c0 [i915]
[72129.500652] intel_enable_crtc+0x48/0x60 [i915]
[72129.500669] skl_commit_modeset_enables+0x236/0x4e0 [i915]
[72129.500687] intel_atomic_commit_tail+0x2c6/0x1230 [i915]
[72129.500689] ? complete+0x2e/0x40
[72129.500690] ? flush_workqueue_prep_pwqs+0x11e/0x130
[72129.500692] ? flush_workqueue+0x19d/0x3f0
[72129.500709] intel_atomic_commit+0x312/0x390 [i915]
[72129.500721] drm_atomic_connector_commit_dpms+0xd9/0x100 [drm]
[72129.500729] drm_mode_obj_set_property_ioctl+0x1bf/0x420 [drm]
[72129.500731] ? filemap_fault+0x3f3/0x990
[72129.500738] ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[72129.500744] drm_connector_property_set_ioctl+0x39/0x60 [drm]
[72129.500749] drm_ioctl_kernel+0xb3/0x100 [drm]
[72129.500755] drm_ioctl+0x236/0x3d0 [drm]
[72129.500762] ? drm_connector_set_obj_prop+0x90/0x90 [drm]
[72129.500765] __x64_sys_ioctl+0x83/0xb0
[72129.500766] do_syscall_64+0x33/0x40
[72129.500767] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[72129.500769] RIP: 0033:0x7f611e1a8f6b
[72129.500769] RSP: 002b:00007fffbcd740e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[72129.500771] RAX: ffffffffffffffda RBX: 00007fffbcd74120 RCX: 00007f611e1a8f6b
[72129.500771] RDX: 00007fffbcd74120 RSI: 00000000c01064ab RDI: 000000000000000e
[72129.500772] RBP: 00000000c01064ab R08: 00005613fb3f7698 R09: 0000000000000000
[72129.500772] R10: 0000000000000000 R11: 0000000000000246 R12: 00005613fb6194d0
[72129.500772] R13: 000000000000000e R14: 0000000000000000 R15: 0000000000000000
resulting that Xorg hangs (it has D
state) and keyboard becomes irresponsible after monitor goes to power save mode (DPMS is on). Besides that the system works fine.
The other, almost identical system which connected to a monitor by DVI-HDMI cable works fine (as well as some other systems connected by VGA cable and one notebook).