From patchwork Mon Feb 10 10:11:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Wilson X-Patchwork-Id: 11373005 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A342A17F0 for ; Mon, 10 Feb 2020 10:12:11 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8825A20733 for ; Mon, 10 Feb 2020 10:12:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8825A20733 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=chris-wilson.co.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 810BF6EBC3; Mon, 10 Feb 2020 10:12:09 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from fireflyinternet.com (unknown [77.68.26.236]) by gabe.freedesktop.org (Postfix) with ESMTPS id F3FF46EBC3; Mon, 10 Feb 2020 10:12:07 +0000 (UTC) X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=78.156.65.138; Received: from haswell.alporthouse.com (unverified [78.156.65.138]) by fireflyinternet.com (Firefly Internet (M1)) with ESMTP id 20171333-1500050 for multiple; Mon, 10 Feb 2020 10:11:36 +0000 From: Chris Wilson To: intel-gfx@lists.freedesktop.org Date: Mon, 10 Feb 2020 10:11:35 +0000 Message-Id: <20200210101135.420500-1-chris@chris-wilson.co.uk> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH i-g-t] intel-ci: Enable gem_exec_whisper X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: igt-dev@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" In hindsignt, gem_exec_whisper has an excellent detection rate for the 5.3/5.4 faux pas. Had it been enabled... Signed-off-by: Chris Wilson Cc: Joonas Lahtinen --- tests/i915/gem_exec_whisper.c | 31 +++++++++++++++++-------------- tests/intel-ci/blacklist.txt | 2 +- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/tests/i915/gem_exec_whisper.c b/tests/i915/gem_exec_whisper.c index 2f665f8d1..153854d1c 100644 --- a/tests/i915/gem_exec_whisper.c +++ b/tests/i915/gem_exec_whisper.c @@ -82,6 +82,7 @@ static void verify_reloc(int fd, uint32_t handle, #define PRIORITY 0x80 #define ALL 0x100 #define QUEUES 0x200 +#define BASIC 0x400 struct hang { struct drm_i915_gem_exec_object2 obj; @@ -527,30 +528,30 @@ igt_main const char *name; unsigned flags; } modes[] = { - { "normal", 0 }, + { "normal", BASIC }, { "interruptible", INTERRUPTIBLE }, - { "forked", FORKED }, - { "sync", SYNC }, + { "forked", BASIC | FORKED }, + { "sync", BASIC | SYNC }, { "chain", CHAIN }, { "chain-forked", CHAIN | FORKED }, { "chain-interruptible", CHAIN | INTERRUPTIBLE }, { "chain-sync", CHAIN | SYNC }, - { "fds", FDS }, + { "fds", BASIC | FDS }, { "fds-interruptible", FDS | INTERRUPTIBLE}, - { "fds-forked", FDS | FORKED}, - { "fds-priority", FDS | FORKED | PRIORITY }, + { "fds-forked", BASIC | FDS | FORKED}, + { "fds-priority", BASIC | FDS | FORKED | PRIORITY }, { "fds-chain", FDS | CHAIN}, { "fds-sync", FDS | SYNC}, - { "contexts", CONTEXTS }, + { "contexts", BASIC | CONTEXTS }, { "contexts-interruptible", CONTEXTS | INTERRUPTIBLE}, - { "contexts-forked", CONTEXTS | FORKED}, - { "contexts-priority", CONTEXTS | FORKED | PRIORITY }, + { "contexts-forked", BASIC | CONTEXTS | FORKED}, + { "contexts-priority", BASIC | CONTEXTS | FORKED | PRIORITY }, { "contexts-chain", CONTEXTS | CHAIN }, { "contexts-sync", CONTEXTS | SYNC }, - { "queues", QUEUES }, + { "queues", BASIC | QUEUES }, { "queues-interruptible", QUEUES | INTERRUPTIBLE}, - { "queues-forked", QUEUES | FORKED}, - { "queues-priority", QUEUES | FORKED | PRIORITY }, + { "queues-forked", BASIC | QUEUES | FORKED}, + { "queues-priority", BASIC | QUEUES | FORKED | PRIORITY }, { "queues-chain", QUEUES | CHAIN }, { "queues-sync", QUEUES | SYNC }, { NULL } @@ -567,9 +568,11 @@ igt_main } for (const struct mode *m = modes; m->name; m++) { - igt_subtest_f("%s", m->name) + igt_subtest_f("%s%s", + m->flags & BASIC ? "basic-" : "", m->name) whisper(fd, ALL_ENGINES, m->flags); - igt_subtest_f("%s-all", m->name) + igt_subtest_f("%s%s-all", + m->flags & BASIC ? "basic-" : "", m->name) whisper(fd, ALL_ENGINES, m->flags | ALL); } diff --git a/tests/intel-ci/blacklist.txt b/tests/intel-ci/blacklist.txt index 181c8cd5f..0d65e2f15 100644 --- a/tests/intel-ci/blacklist.txt +++ b/tests/intel-ci/blacklist.txt @@ -40,7 +40,7 @@ igt@gem_exec_lut_handle(@.*)? igt@gem_exec_nop@(?!.*basic).* igt@gem_exec_reloc@(?!.*basic).* igt@gem_exec_suspend@(?!.*basic).* -igt@gem_exec_whisper@(?!normal$).* +igt@gem_exec_whisper@(?!basic).* igt@gem_fd_exhaustion(@.*)? igt@gem_fence_upload(@.*)? igt@gem_gtt_hog(@.*)?