From: bugzilla-daemon@freedesktop.org Subject: [Bug 99130] [IVB] CONFIG_PROVE_LOCKING=y causes igt/gem_exec/basic-wait-all (and possibly others) to fail Date: Wed, 21 Dec 2016 16:21:06 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0690099592==" 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 4D0436F087 for ; Wed, 21 Dec 2016 16:21:06 +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 --===============0690099592== Content-Type: multipart/alternative; boundary="14823372661.0dfd.17345"; charset="UTF-8" --14823372661.0dfd.17345 Date: Wed, 21 Dec 2016 16:21:06 +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=3D99130 --- Comment #17 from Chris Wilson --- Try: diff --git a/lib/igt_core.c b/lib/igt_core.c index a18a728c..403b9423 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -67,6 +67,7 @@ #include "igt_core.h" #include "igt_aux.h" +#include "igt_sysfs.h" #ifdef HAVE_LIBGEN_H #include /* for basename() on Solaris */ @@ -512,6 +513,7 @@ static void common_exit_handler(int sig) { if (!igt_only_list_subtests()) { low_mem_killer_disable(false); + kick_fbcon(true); } /* When not killed by a signal check that igt_exit() has been prope= rly @@ -731,6 +733,7 @@ out: exit(ret =3D=3D -1 ? 0 : IGT_EXIT_INVALID); if (!list_subtests) { + kick_fbcon(false); kmsg(KERN_INFO "[IGT] %s: executing\n", command_str); print_version(); --=20 You are receiving this mail because: You are the assignee for the bug.= --14823372661.0dfd.17345 Date: Wed, 21 Dec 2016 16:21:06 +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

Commen= t # 17 on bug 99130<= /a> from Chris Wilson
Try:

diff --git a/lib/igt_core.c b/lib/igt_core.c
index a18a728c..403b9423 100644
--- a/lib/igt_core.c
+++ b/lib/igt_core.c
@@ -67,6 +67,7 @@

 #include "igt_core.h"
 #include "igt_aux.h"
+#include "igt_sysfs.h"

 #ifdef HAVE_LIBGEN_H
 #include <libgen.h>   /* for basename() on Solaris */
@@ -512,6 +513,7 @@ static void common_exit_handler(int sig)
 {
        if (!igt_only_list_subtests()) {
                low_mem_killer_disable(false);
+               kick_fbcon(true);
        }

        /* When not killed by a signal check that igt_exit() has been prope=
rly
@@ -731,6 +733,7 @@ out:
                exit(ret =3D=3D -1 ? 0 : IGT_EXIT_INVALID);

        if (!list_subtests) {
+               kick_fbcon(false);
                kmsg(KERN_INFO "[IGT] %s: executing\n", command_s=
tr);
                print_version();


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