From patchwork Sun Jan 29 23:35:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lionel Landwerlin X-Patchwork-Id: 9544359 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 260DD60414 for ; Sun, 29 Jan 2017 23:36:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C80E2833A for ; Sun, 29 Jan 2017 23:36:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1141A283C9; Sun, 29 Jan 2017 23:36:10 +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.2 required=2.0 tests=BAYES_00, 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 D71E22833A for ; Sun, 29 Jan 2017 23:36:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1F7816E143; Sun, 29 Jan 2017 23:36:09 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5BB156E143 for ; Sun, 29 Jan 2017 23:36:06 +0000 (UTC) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP; 29 Jan 2017 15:36:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,309,1477983600"; d="scan'208";a="58657221" Received: from glofts-mobl.ger.corp.intel.com (HELO delly.ger.corp.intel.com) ([10.252.25.10]) by orsmga005.jf.intel.com with ESMTP; 29 Jan 2017 15:36:05 -0800 From: Lionel Landwerlin To: intel-gfx@lists.freedesktop.org Date: Sun, 29 Jan 2017 23:35:42 +0000 Message-Id: <20170129233542.7246-2-lionel.g.landwerlin@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170129233542.7246-1-lionel.g.landwerlin@intel.com> References: <20170129233542.7246-1-lionel.g.landwerlin@intel.com> Subject: [Intel-gfx] [PATCH i-g-t 2/2] aubdump: support new ioctl 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 Otherwise we won't log anything with OpenGL applications using a recent Mesa driver. Signed-off-by: Lionel Landwerlin --- tools/aubdump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/aubdump.c b/tools/aubdump.c index d53addc2..59ef3e7e 100644 --- a/tools/aubdump.c +++ b/tools/aubdump.c @@ -632,7 +632,8 @@ ioctl(int fd, unsigned long request, ...) return libc_ioctl(fd, request, argp); } - case DRM_IOCTL_I915_GEM_EXECBUFFER2: { + case DRM_IOCTL_I915_GEM_EXECBUFFER2: + case DRM_IOCTL_I915_GEM_EXECBUFFER2_WR: { dump_execbuffer2(fd, argp); if (device_override) return 0;