It seems I am still having this issue, I had ghostty and Slack freezing on
me the other day, and Claude pointed to this issue as the root cause.

The reason it pointed to i915 was lines like this in dmesg:

Mar 19 01:32:41 aleph kernel: workqueue: i915_hpd_poll_init_work [i915]
hogged CPU for >10000us 2051 times, consider switching to WQ_UNBOUND

Hardware: Intel CometLake-U GT2 UHD Graphics (i915), kernel
6.17.0-109014-tuxedo, Wayland/GNOME/Mutter session, triggered by docking
station hot-swap.

I have recompiled the module with the following patch and now the warnings
don't show up in my logs when I attach/detach my docking station.

--- a/drivers/gpu/drm/i915/display/intel_display_driver.c
+++ b/drivers/gpu/drm/i915/display/intel_display_driver.c
@@ -262,7 +262,7 @@
              goto cleanup_wq_flip;
      }

-     display->wq.unordered = alloc_workqueue("display_unordered", 0, 0);
+     display->wq.unordered = alloc_workqueue("display_unordered",
WQ_UNBOUND, 0);
      if (!display->wq.unordered) {
              ret = -ENOMEM;
              goto cleanup_wq_cleanup;

Can this fix be merged as is, or should I do other testing?

Kind regards,
Kim Hansen

-- 
Kim Rydhof Thor Hansen
Rylevænget 22
2880 Bagsværd
Phone: +45 3091 2437

Reply via email to