From patchwork Tue Aug 14 15:05:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 10565827 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 6C6F615A6 for ; Tue, 14 Aug 2018 15:05:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5FB4B2A05E for ; Tue, 14 Aug 2018 15:05:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5428A2A0E6; Tue, 14 Aug 2018 15:05:45 +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 E60042A05E for ; Tue, 14 Aug 2018 15:05:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9BD6D6E299; Tue, 14 Aug 2018 15:05:43 +0000 (UTC) X-Original-To: Intel-gfx@lists.freedesktop.org Delivered-To: Intel-gfx@lists.freedesktop.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id DCDD86E290 for ; Tue, 14 Aug 2018 15:05:36 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id h10-v6so17497399wre.6 for ; Tue, 14 Aug 2018 08:05:36 -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=uLYvJ1PrB/lAfyOc19zGXsiIbrAOeVkZKpKB4WzQnqA=; b=fkaGxAZBGhUsyhqBEAfRhfV9HH2qpv65b5Tab6efnkN93yhR/+h5P3vem7AvyiQBfU F1o2f9u/CVPZZ8Rw6KHO3crBHz7UykVAVmyX7gyinNDKk7xRHdGKpXF57/zSemGlcfj2 eIXzaS2x+Nvz7u7+143o7ycuEGzf2ce7hB+7fjrrr1yEheNNFaaFKFsSiepKsqw8Y+2r P3GRJl2VVw0WlK4Oo+u01Vw3X4/5KY7qA6nTqlZ5f73h8TV2yBQvFdiPVi/G4AuuFwTx vuUtihzpm4dbq6CGlEcV76Mzegs24kdE+Nn+bLACcSvVMXvRfMHzdJFFwvocqrwyrFjd +AGw== X-Gm-Message-State: AOUpUlEQBO5C7ATjw5+lOX/8NN0glAalBAu0uVu4d4QK/pC7LAseR5Ij 3ZRkEzWpFnFMzCX2OyUx8ak8IA== X-Google-Smtp-Source: AA+uWPxTUHRj79ulWrECV/Yi1s9xPJZ7hObyEHtAJfRcr5f9UdBnb1oIQ70BoZbj96J5oFaXWoM9Vw== X-Received: by 2002:adf:f585:: with SMTP id f5-v6mr13346279wro.59.1534259135608; Tue, 14 Aug 2018 08:05:35 -0700 (PDT) Received: from localhost.localdomain ([95.144.165.93]) by smtp.gmail.com with ESMTPSA id x82-v6sm39942383wmd.11.2018.08.14.08.05.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Aug 2018 08:05:35 -0700 (PDT) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: igt-dev@lists.freedesktop.org Date: Tue, 14 Aug 2018 16:05:19 +0100 Message-Id: <20180814150519.20204-8-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180814150519.20204-1-tvrtko.ursulin@linux.intel.com> References: <20180814150519.20204-1-tvrtko.ursulin@linux.intel.com> Subject: [Intel-gfx] [PATCH i-g-t 7/7] 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 fd268b3ab456..850c8972f6eb 100644 --- a/benchmarks/gem_wsim.c +++ b/benchmarks/gem_wsim.c @@ -661,7 +661,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;