From patchwork Wed Mar 15 16:09:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Ekstrand X-Patchwork-Id: 9626095 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 15CFD6048C for ; Wed, 15 Mar 2017 16:09:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 07E9426E4C for ; Wed, 15 Mar 2017 16:09:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F05E028624; Wed, 15 Mar 2017 16:09:41 +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 D98DB26E4C for ; Wed, 15 Mar 2017 16:09:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6F7556E0CA; Wed, 15 Mar 2017 16:09:40 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-pf0-x22e.google.com (mail-pf0-x22e.google.com [IPv6:2607:f8b0:400e:c00::22e]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5D3046E0CA for ; Wed, 15 Mar 2017 16:09:38 +0000 (UTC) Received: by mail-pf0-x22e.google.com with SMTP id o126so10870132pfb.3 for ; Wed, 15 Mar 2017 09:09:38 -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=Jxe924ooAFG3RKmkTiQp5GDtSDtx5jGiCbHh2Xt17n4=; b=qEuWtox69PNlkOD600MFLDj7RexOg9aB3/lPAlcnX3H9x/p1tcxIL+VRsItmKczTdb KEBKhAPSW9FvVSoEaPqUL0TVsxnNSyQuOJK+DsH6FKKylDPSVlPW0EElgZOAHes6ZL6+ oPjUr7HS4MMjYz1S5lEQ+THth6LvFHTOUJmOcnQOOXFeciKlxT4QGUUBy2OYMhrKmJf2 pvhgqrgZFZYrKeR87/HROB4iC3DCxgrtMSPNVefIVd0GcEha6aHIBb4wb25UibNwWrFY /ckOMuhBkUCuvoXviUyPvSJ6QM7g2wFIJhN7yUTRkaILH37oM3YCpaqmgJK84j9AXkYw wGTw== 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=Jxe924ooAFG3RKmkTiQp5GDtSDtx5jGiCbHh2Xt17n4=; b=peOEY2D08MYIn/4OoCfE3M7zhkAOy1vIDNJxkqYEUrLeAkoFwWklQKluNb0wstUMfh 1pj8W6Z/MJWApQLmAcTb5qVkojcH+WyER1BB79xtcl1VPFGUbXlzgMdstuJNwi0MKugp kKExiCMtjCiiWKGmE46T8xZU0/748ZW20JmXs7LVT6HlpIIacLtjYN0pmjbjOtVY29Mb Hh7FjdfKXkJBVSynEVgrNOCDMO7UQHoUyxkPGeMm6paYbCrIySBTkcH4WNc4SQOp6jOk FSuBoRFxtLijyBT83NuhJR0ZCkrA8WOENv7fPKuMrYqmFM6t0zRccMO1phr8ummDPjBe GJiA== X-Gm-Message-State: AFeK/H1C4Xz90qoZlo6EVuRYcsWxToZLGxLRlvvkW4buIdWRw/pbTHZVfyJrEccnbfZIgA== X-Received: by 10.98.71.151 with SMTP id p23mr4569130pfi.252.1489594177998; Wed, 15 Mar 2017 09:09:37 -0700 (PDT) Received: from omlet.jf.intel.com ([192.55.55.41]) by smtp.gmail.com with ESMTPSA id m21sm5307620pgh.4.2017.03.15.09.09.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Mar 2017 09:09:36 -0700 (PDT) From: Jason Ekstrand X-Google-Original-From: Jason Ekstrand To: intel-gfx@lists.freedesktop.org Date: Wed, 15 Mar 2017 09:09:31 -0700 Message-Id: <1489594171-10758-1-git-send-email-jason.ekstrand@intel.com> X-Mailer: git-send-email 2.5.0.400.gff86faf Cc: Jason Ekstrand Subject: [Intel-gfx] [PATCH] aubinator: Define DRM_IOCTL_I915_GEM_EXECBUFFER2_WR if unavailable 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 Depending on what version of drm_i915.h you have, you may not have this #define but it's required in order to properly dump aubs from newer versions of mesa. --- I have no idea what the back-porting procedure is for IGT. If someone could provide me with a tagline to ensure it lands in stable, that would be good. tools/aubdump.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/aubdump.c b/tools/aubdump.c index 08cee55..dba5b35 100644 --- a/tools/aubdump.c +++ b/tools/aubdump.c @@ -47,6 +47,10 @@ #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) #endif +#ifndef DRM_IOCTL_I915_GEM_EXECBUFFER2_WR +#define DRM_IOCTL_I915_GEM_EXECBUFFER2_WR DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_GEM_EXECBUFFER2_WR, struct drm_i915_gem_execbuffer2) +#endif + static int close_init_helper(int fd); static int ioctl_init_helper(int fd, unsigned long request, ...);