<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [IVB] CONFIG_PROVE_LOCKING=y causes igt/gem_exec/basic-wait-all (and possibly others) to fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99130#c17">Comment # 17</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [IVB] CONFIG_PROVE_LOCKING=y causes igt/gem_exec/basic-wait-all (and possibly others) to fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99130">bug 99130</a>
              from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
        <pre>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 properly
@@ -731,6 +733,7 @@ out:
                exit(ret == -1 ? 0 : IGT_EXIT_INVALID);

        if (!list_subtests) {
+               kick_fbcon(false);
                kmsg(KERN_INFO "[IGT] %s: executing\n", command_str);
                print_version();</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>