From: bugzilla-daemon@freedesktop.org Subject: [Bug 98322] QXL drm driver regression in 4.7 Date: Thu, 20 Oct 2016 13:16:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1297575802==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 3AECC6E173 for ; Thu, 20 Oct 2016 13:16:14 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1297575802== Content-Type: multipart/alternative; boundary="14769693740.ABCecB552.9661"; charset="UTF-8" --14769693740.ABCecB552.9661 Date: Thu, 20 Oct 2016 13:16:14 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D98322 --- Comment #1 from Takashi Iwai --- OK, I found out the culprit. It's the race of dirty update callback and the dirty clip update. The schedule_work() in drm_fb_helper_dirty() must be in= side the spinlock. Otherwise the concurrent calls may conflict, one clears the = clip while the another is called after that with the cleared clip area. I'll post the patch soon later. --=20 You are receiving this mail because: You are the assignee for the bug.= --14769693740.ABCecB552.9661 Date: Thu, 20 Oct 2016 13:16:14 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 1 on bug 98322<= /a> from Takashi Iwai
OK, I found out the culprit.  It's the race of dirty update ca=
llback and the
dirty clip update.  The schedule_work() in drm_fb_helper_dirty() must be in=
side
the spinlock.  Otherwise the concurrent calls may conflict, one clears the =
clip
while the another is called after that with the cleared clip area.

I'll post the patch soon later.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14769693740.ABCecB552.9661-- --===============1297575802== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1297575802==--