From patchwork Tue Aug 15 22:37:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Ekstrand X-Patchwork-Id: 9902583 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B3CBF60244 for ; Tue, 15 Aug 2017 22:37:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A59F328938 for ; Tue, 15 Aug 2017 22:37:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9A4B428948; Tue, 15 Aug 2017 22:37:29 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID 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 E9CF128938 for ; Tue, 15 Aug 2017 22:37:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9E1C26E381; Tue, 15 Aug 2017 22:37:28 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-pg0-x22f.google.com (mail-pg0-x22f.google.com [IPv6:2607:f8b0:400e:c05::22f]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7C8E16E381 for ; Tue, 15 Aug 2017 22:37:27 +0000 (UTC) Received: by mail-pg0-x22f.google.com with SMTP id i12so13919410pgr.3 for ; Tue, 15 Aug 2017 15:37:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jlekstrand-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=GryGtbaCb62rR4rammZslP+L/mFUI35UgMh7UkxTjd4=; b=CQyXu79beYMD4seU57XYWJNL4Pfh4MM3Q3vZjgj/wktLl8TX8VYgchEMtuVfxbdZNE 4EmCo0rQa6cs7MAY6iILmiFIYVTdRv5mBFlwWM2WmNRRsZHOKW7Vocv3Cf+grq1A+DAv O+XEWiTdCQsOcHRar5HEb6V4nPU5nDhixQKPYMqod4uIQ8mI+KDHYjhdIPFkXiSVFkWu nFMQ6TA6sA7vWev5z3C+Y3361UJ5jwBiIaQ3NoNrJOeV4pPVYxib0WkovaHh3SrVhx2l +LRcn5mDh0dPKJ9icpE9QfbThw98SHiUU2tL7nk54QtpQ4uhyIz8BUV2T6tjo8q2GG9T +xeQ== 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; bh=GryGtbaCb62rR4rammZslP+L/mFUI35UgMh7UkxTjd4=; b=DZHAqCICIYMFLipLq8NbYh6mRb5eqy0NDC8MaluB+kVJMlydDQNufr2cQL4JTFx15K nJoiY9npI4+JgdzrdUqtoGzsh79MNqd0PaGfNL3lzuyWyCaSYmupbakL/nUDX/VhzdQQ XKHk4q1nc8ntlkaMAekHa0afmS81Jro29g1jilhaWjBeA2bPuDOFmQR6Jxppzf/8lcnN WVSvnKjRnB3MIDlKNTnK7YBb1Yd1TA9W5TlCUjVaaza7MJRLnG22Ql2OW/mlCots6gdA j5UDr1apV+vG6UW4TTXZnkWv0V+fpvamstA38aJ5fd8VfBR6AmkbkaqYGCVinleBvGEB tqFg== X-Gm-Message-State: AHYfb5gQNJNOMFD+Hlu+yVEMtbawMK45xaZLXIfwyP5zRTbqOwLKHwks Gl7e0z4D8hdfftLjCNxRDA== X-Received: by 10.84.247.9 with SMTP id n9mr21980630pll.451.1502836646733; Tue, 15 Aug 2017 15:37:26 -0700 (PDT) Received: from omlet.ak.intel.com ([134.134.139.78]) by smtp.gmail.com with ESMTPSA id u67sm18773214pfd.164.2017.08.15.15.37.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Aug 2017 15:37:25 -0700 (PDT) From: Jason Ekstrand X-Google-Original-From: Jason Ekstrand To: intel-gfx@lists.freedesktop.org Date: Tue, 15 Aug 2017 15:37:23 -0700 Message-Id: <1502836643-10889-1-git-send-email-jason.ekstrand@intel.com> X-Mailer: git-send-email 2.5.0.400.gff86faf Cc: Jason Ekstrand , Daniel Vetter Subject: [Intel-gfx] [PATCH i-g-t] tests/gem_exec_params: Update the invalid-flag subtest for FENCE_ARRAY X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Tests for the new flag were added in 3685dabb0ab25eb1. Cc: Daniel Vetter Cc: Chris Wilson Reviewed-by: Daniel Vetter --- tests/gem_exec_params.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/gem_exec_params.c b/tests/gem_exec_params.c index ba6d67c..5b72072 100644 --- a/tests/gem_exec_params.c +++ b/tests/gem_exec_params.c @@ -48,6 +48,7 @@ #define LOCAL_I915_EXEC_FENCE_IN (1 << 16) #define LOCAL_I915_EXEC_FENCE_OUT (1 << 17) #define LOCAL_I915_EXEC_BATCH_FIRST (1 << 18) +#define LOCAL_I915_EXEC_FENCE_ARRAY (1 << 19) static bool has_ring(int fd, unsigned ring_exec_flags) { @@ -357,7 +358,7 @@ igt_main /* NOTE: This test intentionally exercise the next available * flag. Don't "fix" this testcase without adding the required * tests for the new flag first. */ - execbuf.flags = I915_EXEC_RENDER | (LOCAL_I915_EXEC_BATCH_FIRST << 1); + execbuf.flags = I915_EXEC_RENDER | (LOCAL_I915_EXEC_FENCE_ARRAY << 1); RUN_FAIL(EINVAL); }