From patchwork Mon Apr 6 08:53:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Wilson X-Patchwork-Id: 11475043 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 E86EE1805 for ; Mon, 6 Apr 2020 08:53:51 +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 D0B0F206C3 for ; Mon, 6 Apr 2020 08:53:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D0B0F206C3 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 E36CB6E229; Mon, 6 Apr 2020 08:53:49 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from fireflyinternet.com (mail.fireflyinternet.com [109.228.58.192]) by gabe.freedesktop.org (Postfix) with ESMTPS id D47AF6E07B; Mon, 6 Apr 2020 08:53:47 +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 20811801-1500050 for multiple; Mon, 06 Apr 2020 09:53:09 +0100 From: Chris Wilson To: igt-dev@lists.freedesktop.org Date: Mon, 6 Apr 2020 09:53:09 +0100 Message-Id: <20200406085309.1585743-1-chris@chris-wilson.co.uk> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH i-g-t] i915/perf_pmu: Add the missing igt_dynamic to dynamic rcs* test selection 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: intel-gfx@lists.freedesktop.org, Chris Wilson Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" An important ingredient to using igt_subtest_with_dynamic is to include an igt_dynamic at some point. Reported-by: Petri Latvala Fixes: 311cb1b360b7 ("i915/perf_pmu: Dynamic active engine tests") Signed-off-by: Chris Wilson Cc: Petri Latvala Reviewed-by: Petri Latvala --- tests/perf_pmu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/perf_pmu.c b/tests/perf_pmu.c index 92aee1d1d..b9ca6a493 100644 --- a/tests/perf_pmu.c +++ b/tests/perf_pmu.c @@ -1866,7 +1866,8 @@ static void faulting_read(int gem_fd, const struct mmap_offset *t) #define test_each_rcs(T, i915, e) \ igt_subtest_with_dynamic(T) __for_each_physical_engine(i915, e) \ - for_each_if((e)->class == I915_ENGINE_CLASS_RENDER) + for_each_if((e)->class == I915_ENGINE_CLASS_RENDER) \ + igt_dynamic_f("%s", e->name) igt_main {