From patchwork Wed Oct 26 16:48:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 9397703 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 1BF2B60236 for ; Wed, 26 Oct 2016 16:48:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E2CA29C75 for ; Wed, 26 Oct 2016 16:48:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3291F29C78; Wed, 26 Oct 2016 16:48:52 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 848E029C7B for ; Wed, 26 Oct 2016 16:48:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D5F3F6E8D5; Wed, 26 Oct 2016 16:48:50 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id E00F56E8D5 for ; Wed, 26 Oct 2016 16:48:48 +0000 (UTC) Received: by mail-wm0-x243.google.com with SMTP id m83so4003461wmc.6 for ; Wed, 26 Oct 2016 09:48:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=BdcZjX+53YZDDPQVRj6GIIIo+Vy6vbcsH/Imj2+GZ64=; b=JX8G2rscKg30Egi7eEHHoHx1uW83BP3uBidvv70tDudxGLDGyzh/m3A1Ijc8MM3rJe AzFifCqGh/IOcAQmlAndRjD2D1hofgPsknC3H/aHfDbK2H28bpChwesMQQ2I5mHhBIVF VrjFLNLTDX/fGgrERx5eL66hluArzjjKLUxHa0OTwYXfMnwNyDQSiv46UFDQ03jdOuY7 teazoE+w00LT+H/sW1fSyWzyPXQCAvvo05mbjyzz1Xp6M3EMq04z/BRI5dX8KK5uZD1T 7D2SoeO6H0bKvOgwnQ5fT3Tcxxz/wTwkJbkMyzNGF91wBwL2+rji73gAofdL5ruEnKTW Mt6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=BdcZjX+53YZDDPQVRj6GIIIo+Vy6vbcsH/Imj2+GZ64=; b=RqFb2Mj1Igw0HSSusxR6+TVfAG2799GcEqee22Gh90j2sefJtbSvef3rlFbigUdPQk 43tsRzZgicGlP6yPNM8yNCYB6jtRffdtisJdGW7xwaz+QmMbNrLKYZ9suEswTPHqOMAx Un8UjxCtzYKPpoIyygyTdB2u+srNkbgdSaHFYd01mZV0AKuL6iYtZYU7EpaiN7lQvd5B XHNfM5Ch0jF/XV7V0BprqDof2OIwJmsNVxNn6VGRHuuW2pqDhUIV40uazgezQu49PJjC FbWFVwoV+wN+kKoF8TCbH3Yg9O7wXeuCLF0aik+N9XmpGIJnNEJxgD8OuCeu2lWIUyWZ zSZw== X-Gm-Message-State: ABUngvfIFbi5p0Yj1vjxyf6M7pzolyEz1Hqhd+unWY5eb23BsK1LnYHkq4bIP2W31B/zNA== X-Received: by 10.28.109.3 with SMTP id i3mr9033132wmc.121.1477500527299; Wed, 26 Oct 2016 09:48:47 -0700 (PDT) Received: from arch-x220.cbg.collabora.co.uk ([2a00:1098:5:0:120b:a9ff:fe8d:c914]) by smtp.gmail.com with ESMTPSA id gk6sm3579327wjc.21.2016.10.26.09.48.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Oct 2016 09:48:46 -0700 (PDT) From: Emil Velikov To: intel-gfx@lists.freedesktop.org Date: Wed, 26 Oct 2016 17:48:39 +0100 Message-Id: <20161026164839.22880-1-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.9.3 Subject: [Intel-gfx] [PATCH i-g-t] lib: use the local intel_aub.h file 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 From: Emil Velikov File is provided by the libdrm_intel package which is optional. Since we already have a local copy of the file, we might as well use it ;-) Cc: Brian Starkey Reported-by: Brian Starkey Signed-off-by: Emil Velikov --- An alternative would be to $ git mv tools/intel_aub.h lib/stubs/drm/ and drop the intel_aub.h reference from tools/Makefile.am. --- lib/rendercopy_gen8.c | 2 +- lib/rendercopy_gen9.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rendercopy_gen8.c b/lib/rendercopy_gen8.c index a7fc2c4..3c4a040 100644 --- a/lib/rendercopy_gen8.c +++ b/lib/rendercopy_gen8.c @@ -22,7 +22,7 @@ #include "intel_reg.h" #include "igt_aux.h" -#include +#include "tools/intel_aub.h" #define VERTEX_SIZE (3*4) diff --git a/lib/rendercopy_gen9.c b/lib/rendercopy_gen9.c index 9537480..4fef584 100644 --- a/lib/rendercopy_gen9.c +++ b/lib/rendercopy_gen9.c @@ -23,7 +23,7 @@ #include "intel_reg.h" #include "igt_aux.h" -#include +#include "tools/intel_aub.h" #define VERTEX_SIZE (3*4)