From patchwork Fri Apr 5 22:01:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: George Amanakis X-Patchwork-Id: 2403521 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 9814A3FC71 for ; Sun, 7 Apr 2013 21:56:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 87E99E6017 for ; Sun, 7 Apr 2013 14:56:40 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from nm5-vm3.bullet.mail.ne1.yahoo.com (nm5-vm3.bullet.mail.ne1.yahoo.com [98.138.91.135]) by gabe.freedesktop.org (Postfix) with ESMTP id F31BDE67DE for ; Fri, 5 Apr 2013 15:01:00 -0700 (PDT) Received: from [98.138.90.50] by nm5.bullet.mail.ne1.yahoo.com with NNFMP; 05 Apr 2013 22:01:00 -0000 Received: from [98.138.88.233] by tm3.bullet.mail.ne1.yahoo.com with NNFMP; 05 Apr 2013 22:01:00 -0000 Received: from [127.0.0.1] by omp1033.mail.ne1.yahoo.com with NNFMP; 05 Apr 2013 22:01:00 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 549062.23878.bm@omp1033.mail.ne1.yahoo.com Received: (qmail 7979 invoked by uid 60001); 5 Apr 2013 22:01:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1365199260; bh=2YDV7UIantd1kT60jbAKW0rky8+4HqyWaqIJ2rPwH7A=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=li0V9ep9Ay/CnPiBNVQscjckMoFm15smvs1L66fNSCrqkYT2Lx3pI5ithunfmCyz8aQb36Rz8RPHQ48Cr87S3qBjna3ZJf6OEcF1O3VUahBxIiwM34MFn16pPmtTlQsowkx47QpUpQkp4YwnzpskY7BQLfc7mfd2M6CNpEkMlrQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=Q8kQHvWc9M6PdowgMQV+h1Dm5DR6j6I7jx1nOYwUuA/zkds7o7Moqs6SSfOK4hbq2yvgn/zaQGbdy+oBXFtuckiWeMfT2+3oSfjW/5wNe+PbCiuSl8IADvFPyyck8a8v8xJaJGgJx5h8pTLn4FNMoogU9xnQuBiaZTtTvNERUY4=; X-YMail-OSG: kMPkEVQVM1mi9Jl0s_ldxYFciyxwbDd79I_XWFJ3aO5fTUc rXWFgZe00VSYsW_jrOqjxzBf7k7PHGg2RnEl3cOp.MLxBMcmFSHzUV9IAwxL FVwZVEqb5sN1QX73WrI6IILzUvUqQH7ek6KkdlIMhCGQ180q11aoRgWTViQe 3WFydpt45auuWop.okxSTpsluFA7ug.9UKY2XOm8O3cd5x1LqRzs.vET3z5. snwafFwSPOYA0eG464MspnXjiXohy5P.vuNP2zUIzbaN3RAz20kwKVUKinIB yPvscgxyavpkM1bzLIeWuCycGp71UrXt_xY22iQdiyLgy34QZziPNKTFVq42 7hHm3a80teUM88AOVTGawRdSam7WagXvxn.h_FpKnqhxIkpIPl0gXBG9UMKW n_5g89SZ6pagZ5HwFJEUnjy13NCiR4W7WowXmesQNSCbZDTd59y3zo8UUN1Z W_FiaEh3SyQzTmjptf6q_btnTtBhomFwutNi8sW7NgZtYnzBs3FuLB_jVhSX ezJ7.ZT3thJ0yX39zIB1R6UaN Received: from [62.50.226.118] by web121006.mail.ne1.yahoo.com via HTTP; Fri, 05 Apr 2013 15:01:00 PDT X-Rocket-MIMEInfo: 002.001, SSBtZWFuIHRoYXQgSSBjYW4gdHlwZSwgbW92ZSB0aGUgbW91c2UgcG9pbnRlciwgb3BlbiBuZXcgd2luZG93cyBidXQgdGhlcmUgaXMgYSBsYWcgdW50aWwgdGhlc2UgY2hhbmdlcyBhcmUgZGlzcGxheWVkLiBTdHV0dGVyaW5nIGxpa2UuCgpJIGVuZGVkIHVwIG5vdCByZXZlcnRpbmcgdGhlIGFmb3JlbWVudGlvbmVkIGNvbW1pdCBidXQgbW9kaWZ5aW5nIGl0LiBUaGlzIGFsc28gc29sdmVzIHRoZSBpc3N1ZS4gSGVyZSBpcyB0aGUgcGF0Y2g6CgoKZGlmZiAtcnVwTiBhL2RyaXZlcnMvZ3B1L2RybS9kcm1fY3IBMAEBAQE- X-Mailer: YahooMailWebService/0.8.140.532 References: <1365107276.36562.YahooMailNeo@web121003.mail.ne1.yahoo.com> <1365108179.96993.YahooMailNeo@web121006.mail.ne1.yahoo.com> <1365112392.62159.YahooMailNeo@web121004.mail.ne1.yahoo.com> Message-ID: <1365199260.94686.YahooMailNeo@web121006.mail.ne1.yahoo.com> Date: Fri, 5 Apr 2013 15:01:00 -0700 (PDT) From: George Amanakis Subject: Re: BUG: kworker hangs the GPU on drm and i915 since 3.8.x under X11 To: Daniel Vetter In-Reply-To: MIME-Version: 1.0 X-Mailman-Approved-At: Sun, 07 Apr 2013 14:55:36 -0700 Cc: "alexander.deucher@amd.com" , "airlied@redhat.com" , intel-gfx , dri-devel X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: George Amanakis List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org I mean that I can type, move the mouse pointer, open new windows but there is a lag until these changes are displayed. Stuttering like. I ended up not reverting the aforementioned commit but modifying it. This also solves the issue. Here is the patch: diff -rupN a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c --- a/drivers/gpu/drm/drm_crtc_helper.c    2013-02-19 00:58:34.000000000 +0100 +++ b/drivers/gpu/drm/drm_crtc_helper.c    2013-04-05 23:10:36.454936677 +0200 @@ -1067,7 +1067,7 @@ void drm_helper_hpd_irq_event(struct drm      enum drm_connector_status old_status;      bool changed = false;   -    if (!dev->mode_config.poll_enabled) +    if (!dev->mode_config.poll_enabled || !drm_kms_helper_poll)          return;        mutex_lock(&dev->mode_config.mutex);