From patchwork Mon Nov 14 20:51:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Bragg X-Patchwork-Id: 9428359 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 86DD36047D for ; Mon, 14 Nov 2016 20:51:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 781EC28ADC for ; Mon, 14 Nov 2016 20:51:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6D50A28AE3; Mon, 14 Nov 2016 20:51:57 +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 074D328ADC for ; Mon, 14 Nov 2016 20:51:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 99F7F6E514; Mon, 14 Nov 2016 20:51:56 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-pg0-x244.google.com (mail-pg0-x244.google.com [IPv6:2607:f8b0:400e:c05::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0FE956E511 for ; Mon, 14 Nov 2016 20:51:55 +0000 (UTC) Received: by mail-pg0-x244.google.com with SMTP id 3so9802992pgd.0 for ; Mon, 14 Nov 2016 12:51:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=wBT6ZN/VT2LJnjB92RlUcS+jSZ/XcZ9Ugm+8/VQpS8Y=; b=rTeFlepQ+9+8uu2NAYKcy3c9vuNPpcdzLIs0WiUlJhjTv8VzezTqdW30dCo89fLH/Z 2Y0DOBr3PGiOpGA37VQrZwaSJVhqEQ1tqtOSB1adpKysSCM/M5B0w7sIWY8LDOpCK75M R7/6PZJbmN5mnYl5i1U7lLx4YsMQPIv8ondQvuf0Aux12rquDfBcFXNWAJiqf5F/ztRl yjzQadvZMR5A++y9dZiXe5hTaxNdN3ARsAKx4ZwG1nx4ZmyZeNF0CcxMetyOfQ2o9Uev LGmsQZTL+wPz25fxGC5TeUTmttT007Jtqcil6M9BywsDkMgToamR+q7ZSNxzr+eLrha8 QGSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=wBT6ZN/VT2LJnjB92RlUcS+jSZ/XcZ9Ugm+8/VQpS8Y=; b=Y33uyN7CHiYAYlnNn8oKobJ8jVzS5q8mjDNX2j3Awe8/jK9wBn1ypyGC0vFPyIznTt bTed4kXmDotRvpWNyUn/1jkEaZo+nsl2IDtJhm+cZnLBqa1NbcmKkIdwSDAK3X9IA20m XqpXdG0rLWRAyezTYOjScsymBG4kHbqODxjhVsVZi4vE38xJc2DVvHhdfPYTjuV30KpM sZFUY0WR6VDNuEhiRqxAUVlhi7orcJ0x6zjydE/xKbSqyBv5TP6oXd6Kz9Fh3iIUBgYk ZTcTXqkZXIx3i0mlopd+wfIjtYMVk+crBQwLAwqCl1juIxQzORwNJexVNW5rDMFeFkZu PXMg== X-Gm-Message-State: ABUngvcaEd4U/fchiKCH9wELNDpkjU38bwZE2wmXNXfNSPmiOEEnP66dw/XuRFaB8qvLBA== X-Received: by 10.98.207.195 with SMTP id b186mr39434489pfg.40.1479156714530; Mon, 14 Nov 2016 12:51:54 -0800 (PST) Received: from sixbynine.org (cpc26-heme10-2-0-cust305.9-1.cable.virginm.net. [86.3.57.50]) by smtp.gmail.com with ESMTPSA id cm6sm17971916pad.3.2016.11.14.12.51.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Nov 2016 12:51:54 -0800 (PST) From: Robert Bragg To: intel-gfx@lists.freedesktop.org Date: Mon, 14 Nov 2016 20:51:16 +0000 Message-Id: <20161114205122.10742-8-robert@sixbynine.org> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20161114205122.10742-1-robert@sixbynine.org> References: <20161114205122.10742-1-robert@sixbynine.org> Subject: [Intel-gfx] [PATCH igt v4 07/13] igt/gem_exec_parse: req. v < 9 for oacontrol tracking test 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 This limits testing the oacontrol tracking (required pairing of oa enable/disable per batch buffer) to version <= 8 of the command parser. Version 9 of the command parser removes all special handling for OACONTROL which is now going to be managed by i915-perf and not programmed from userspace. Signed-off-by: Robert Bragg Reviewed-by: Matthew Auld --- tests/gem_exec_parse.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/gem_exec_parse.c b/tests/gem_exec_parse.c index 9e57ff5..6dc9998 100644 --- a/tests/gem_exec_parse.c +++ b/tests/gem_exec_parse.c @@ -551,6 +551,9 @@ igt_main 0x31337000, MI_BATCH_BUFFER_END, }; + + igt_require(parser_version < 9); + exec_batch(fd, handle, lri_ok, sizeof(lri_ok), I915_EXEC_RENDER,