From patchwork Wed Sep 5 13:49:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 10588873 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 88D7F180E for ; Wed, 5 Sep 2018 13:49:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 789DB2A1DA for ; Wed, 5 Sep 2018 13:49:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6D48B2A1E6; Wed, 5 Sep 2018 13:49:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 38D202A1DF for ; Wed, 5 Sep 2018 13:49:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8DB2C6E489; Wed, 5 Sep 2018 13:49:49 +0000 (UTC) X-Original-To: Intel-gfx@lists.freedesktop.org Delivered-To: Intel-gfx@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id C6E266E499 for ; Wed, 5 Sep 2018 13:49:48 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id j26-v6so7783042wre.2 for ; Wed, 05 Sep 2018 06:49:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=SRwXvZFewr5wU0lt0zXIJIeulY6ZMZwOWt0pEuOTSiM=; b=BJusJ7xMzP73KhJTHjZEyg07caQ4s7bMY91LbZ0a0mvjlz4PtU+70dVaK5W/BpySsz T7z/NtV7XnUcupUBzAxBi3lROWMuXwNL/MiEBsC+pDVF9K1qpAw8PiPWi2R8Re7y+HfR a0u1nCrUJVngfBulekhsQZ7iFQiJ+WpNyVhU20KdT9JKOCq/oJJcCZb4CAGuFJ1MMAqt dmDBUg1/y5yjBi9V/dZG/1DxYTSPR+hyYj2vQI4b4qsPO4a8f0vMXE+mFrZoejrZi7+B MZ6CsvrfcWx3j15RL7kfl/MT19bMw4DX0Mmn5La9Q8l7dxXQV1oT9ZERTyXNQaKRmOMo vAhw== X-Gm-Message-State: APzg51A2DtWpK7zQiQmi3j/yRtcWdxCO/hVY2GRztFqLNbigCuMe37cJ bQKZNtJ/8pxWsdsOh4A9U2eUlQ== X-Google-Smtp-Source: ANB0Vdak2kANXE9KU8uotstNCPmTLoDOVz5byKrEUGTL8oyUJlvx5y7dj9GodLqECKcpeW9yOI8tuA== X-Received: by 2002:adf:a30a:: with SMTP id c10-v6mr28270465wrb.31.1536155387500; Wed, 05 Sep 2018 06:49:47 -0700 (PDT) Received: from localhost.localdomain ([95.144.165.37]) by smtp.gmail.com with ESMTPSA id j66-v6sm2701639wrj.28.2018.09.05.06.49.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Sep 2018 06:49:47 -0700 (PDT) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: igt-dev@lists.freedesktop.org Date: Wed, 5 Sep 2018 14:49:29 +0100 Message-Id: <20180905134939.2942-4-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180905134939.2942-1-tvrtko.ursulin@linux.intel.com> References: <20180905134939.2942-1-tvrtko.ursulin@linux.intel.com> Subject: [Intel-gfx] [PATH i-g-t 03/13] gem_wsim: Fix BCS usage under VCS2 remap warning X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 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 MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP From: Tvrtko Ursulin Need to check we actually are in VCS2 remapping mode! Signed-off-by: Tvrtko Ursulin --- benchmarks/gem_wsim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/gem_wsim.c b/benchmarks/gem_wsim.c index 80f180829241..25af4d678ba4 100644 --- a/benchmarks/gem_wsim.c +++ b/benchmarks/gem_wsim.c @@ -592,7 +592,7 @@ add_step: } } - if (bcs_used && verbose) + if (bcs_used && (flags & VCS2REMAP) && verbose) printf("BCS usage in workload with VCS2 remapping enabled!\n"); return wrk;