[PATCH i-g-t 1/3] lib/i915/perf: include i915_pciids_local.h
Kamil Konieczny
kamil.konieczny at linux.intel.com
Thu Jan 11 10:02:04 UTC 2024
Hi Chaitanya,
On 2024-01-10 at 13:45:30 +0530, Chaitanya Kumar Borah wrote:
> 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 <chaitanya.kumar.borah at intel.com>
> Cc: Matt Roper <matthew.d.roper at intel.com>
> Cc: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
> Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
> Cc: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
> Cc: Niranjana Vishwanathapura <niranjana.vishwanathapura at intel.com>
Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
> ---
> 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 <i915_drm.h>
>
> #include "i915_pciids.h"
> +#include "i915_pciids_local.h"
>
> #include "intel_chipset.h"
> #include "perf.h"
> --
> 2.25.1
>
More information about the igt-dev
mailing list