[Bug 103160] [CI] gt at kms_flip@vblank-vs-[dpms-suspend-interruptible|modeset-suspend-interruptible|suspend-interruptible] - Softdog incomplete

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 11 14:24:13 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103160

--- Comment #2 from Imre Deak <imre.deak at intel.com> ---
AFAICS, in the tests the 500Hz interrupt frequency is too high for the main
thread, so syscalls there will be interrupted and delayed indefinitely leading
to watchdog timeout. To test this theory we should try something like:

diff --git a/lib/igt_aux.c b/lib/igt_aux.c
index fa6594c3..2f01c723 100644
--- a/lib/igt_aux.c
+++ b/lib/igt_aux.c
@@ -278,7 +278,7 @@ static void __attribute__((noreturn))
signal_helper_process(pid_t pid)
 {
        /* Interrupt the parent process at 500Hz, just to be annoying */
        while (1) {
-               usleep(1000 * 1000 / 500);
+               usleep(1000 * 1000 / 50);
                if (kill(pid, SIGCONT)) /* Parent has died, so must we. */
                        exit(0);
        }

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20171011/0b9ed594/attachment-0001.html>


More information about the intel-gfx-bugs mailing list