From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id B6D7510E565 for ; Wed, 10 Jan 2024 08:22:40 +0000 (UTC) From: Chaitanya Kumar Borah To: igt-dev@lists.freedesktop.org Subject: [PATCH i-g-t 1/3] lib/i915/perf: include i915_pciids_local.h Date: Wed, 10 Jan 2024 13:45:30 +0530 Message-Id: <20240110081532.1378038-2-chaitanya.kumar.borah@intel.com> In-Reply-To: <20240110081532.1378038-1-chaitanya.kumar.borah@intel.com> References: <20240110081532.1378038-1-chaitanya.kumar.borah@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: perf.c uses PCI ID macros not found in kernel header i915_pciids.h. Therefore include i915_pciids_local.h so that we can move these macros from i915_pciids.h to this file. That way we don't lose them when lib/i915_pciids.h is synced with kernel. v2: Retain i915_pciids.h inclusion (Kamil Konieczny) Signed-off-by: Chaitanya Kumar Borah Cc: Matt Roper Cc: Juha-Pekka Heikkila Cc: Kamil Konieczny Cc: Lionel Landwerlin Cc: Niranjana Vishwanathapura --- lib/i915/perf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/i915/perf.c b/lib/i915/perf.c index ddadb53b6..bbfa36060 100644 --- a/lib/i915/perf.c +++ b/lib/i915/perf.c @@ -38,6 +38,7 @@ #include #include "i915_pciids.h" +#include "i915_pciids_local.h" #include "intel_chipset.h" #include "perf.h" -- 2.25.1