<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Indeed, I set explicitly drm_kms_helper.poll=0 since 2.35.x. See here:<br>http://souriguha.wordpress.com/2011/03/08/how-to-solve-problem-with-thinkpadkslowd-kworker-on-linux-kernel-2-35-2-36/<br><br>Mouse and keyboard freezes intermittently some time after boot up. Actually the problem has to do with the GPU lagging and displaying the changes later. This results in an almost unusable desktop environment. Top
will report the high CPU usage by 3-4 processes named kworker. With the drm_kms_helper.poll=0 it was until the 3.8.x kernel resolved.<br><br>Since the 3.8.x kernels the exact same problem appeared again. The problem persists with the latest 3.9-rc5 too. <br> <br>Thanks, George<br></div> <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Daniel Vetter <daniel.vetter@ffwll.ch><br> <b><span style="font-weight: bold;">To:</span></b> George Amanakis <g_amanakis@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "alexander.deucher@amd.com" <alexander.deucher@amd.com>; "airlied@redhat.com" <airlied@redhat.com>; dri-devel <dri-devel@lists.freedesktop.org>; intel-gfx
<intel-gfx@lists.freedesktop.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Saturday, April 6, 2013 5:11 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: BUG: kworker hangs the GPU on drm and i915 since 3.8.x under X11<br> </font> </div> <br>Indeed, the commit you've bisected too accidentally removed this<br>check. I'll submit a patch.So I guess you've explicitly set<br>drm_kms_helper.poll=0. Can you please elaborate what you're working<br>around with this option? Any such case is a bug.<br><br>Also, can you please test latest 3.9-rc kernels (without your patch,<br>i.e. a broken configuration)? It contains some rework to make hpd<br>detection less intrusive for normal desktop activity and should also<br>greatly help for your case here.<br><br>Thanks, Daniel<br><br><br>><br>> diff -rupN a/drivers/gpu/drm/drm_crtc_helper.c<br>> b/drivers/gpu/drm/drm_crtc_helper.c<br>> ---
a/drivers/gpu/drm/drm_crtc_helper.c 2013-02-19 00:58:34.000000000<br>> +0100<br>> +++ b/drivers/gpu/drm/drm_crtc_helper.c 2013-04-05 23:10:36.454936677<br>> +0200<br>> @@ -1067,7 +1067,7 @@ void drm_helper_hpd_irq_event(struct drm<br>> enum drm_connector_status old_status;<br>> bool changed = false;<br>><br>> - if (!dev->mode_config.poll_enabled)<br>> + if (!dev->mode_config.poll_enabled || !drm_kms_helper_poll)<br>> return;<br>><br>> mutex_lock(&dev->mode_config.mutex);<br>><br><br><br><br>--<br>Daniel Vetter<br>Software Engineer, Intel Corporation<br>+41 (0) 79 365 57 48 - http://blog.ffwll.ch<br><br><br> </div> </div> </div></body></html>