From: bugzilla-daemon@freedesktop.org Subject: [Bug 102650] [CI][ALL] igt@sw_sync@timeline_closed - Failure waiting on unsignaled fence on closed timeline Date: Tue, 12 Sep 2017 14:04:01 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1629912925==" 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 3757E6E638 for ; Tue, 12 Sep 2017 14:04:01 +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 --===============1629912925== Content-Type: multipart/alternative; boundary="15052250410.Df2423c8e.20372"; charset="UTF-8" --15052250410.Df2423c8e.20372 Date: Tue, 12 Sep 2017 14:04:01 +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=3D102650 Chris Wilson changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Chris Wilson --- commit c7e116007e907f32c18cc2669e2dc4046553c8e6 (HEAD, upstream/master) Author: Chris Wilson Date: Mon Sep 11 13:23:27 2017 +0100 igt/sw_sync: Fix up close(timeline) tests for unsignaled fences Following kernel commit ea4d5a270b57fa8d4871f372ca9b97b7697fdfda Author: Dominik Behr Date: Thu Sep 7 16:02:46 2017 -0300 dma-buf/sw_sync: force signal all unsignaled fences on dying timeli= ne To avoid hanging userspace components that might have been waiting = on the active fences of the destroyed timeline we need to signal with error all remaining fences on such timeline. This restore the default behaviour of the Android sw_sync framework, which Android still relies on. It was broken on the dma fence conversion a few years ago and never fixed. unsignaled fences are now signaled and flagged with ENOENT when the timeline is closed. Fixup timeline_closed_signaled to match. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=3D102650 Signed-off-by: Chris Wilson Reviewed-by: Micha=C5=82 Winiarski --=20 You are receiving this mail because: You are the assignee for the bug.= --15052250410.Df2423c8e.20372 Date: Tue, 12 Sep 2017 14:04:01 +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 Chris Wilson changed bug 10265= 0
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Commen= t # 2 on bug 10265= 0 from Chris Wilson
commit c7e116007e907f32c18cc2669e2dc4046553c8e6 (HEAD, upstrea=
m/master)
Author: Chris Wilson <ch=
ris@chris-wilson.co.uk>
Date:   Mon Sep 11 13:23:27 2017 +0100

    igt/sw_sync: Fix up close(timeline) tests for unsignaled fences

    Following

    kernel commit ea4d5a270b57fa8d4871f372ca9b97b7697fdfda
    Author: Dominik Behr <dbeh=
r@chromium.org>
    Date:   Thu Sep 7 16:02:46 2017 -0300

        dma-buf/sw_sync: force signal all unsignaled fences on dying timeli=
ne

        To avoid hanging userspace components that might have been waiting =
on
the
        active fences of the destroyed timeline we need to signal with error
all
        remaining fences on such timeline.

        This restore the default behaviour of the Android sw_sync framework,
which
        Android still relies on. It was broken on the dma fence conversion a
few
        years ago and never fixed.

    unsignaled fences are now signaled and flagged with ENOENT when the
    timeline is closed. Fixup timeline_closed_signaled to match.

    Bugzilla: https://bugs.freedesktop.org/show_bug.=
cgi?id=3D102650
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: Micha=C5=82 Winiarski <michal.winiarski@intel.com>


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