Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [PATCH i-g-t 1/3] lib/i915/perf: include i915_pciid_local.h
Date: Tue,  9 Jan 2024 11:39:41 +0530	[thread overview]
Message-ID: <20240109060943.1236373-2-chaitanya.kumar.borah@intel.com> (raw)
In-Reply-To: <20240109060943.1236373-1-chaitanya.kumar.borah@intel.com>

perf.c uses PCI ID macros not found in kernel header i915_pciid.h.
Therefore include i915_pciid_local.h instead of i915_pciid.h so that
we can move these macros to the local file. That way we don't lose
them when i915_pciid.h is synced with kernel.

Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com> 
Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>

---
 lib/i915/perf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/i915/perf.c b/lib/i915/perf.c
index ddadb53b6..2006dd4ad 100644
--- a/lib/i915/perf.c
+++ b/lib/i915/perf.c
@@ -37,7 +37,7 @@
 
 #include <i915_drm.h>
 
-#include "i915_pciids.h"
+#include "i915_pciids_local.h"
 
 #include "intel_chipset.h"
 #include "perf.h"
-- 
2.25.1

  reply	other threads:[~2024-01-09  6:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-09  6:09 [PATCH i-g-t 0/3] Sync i915_pciid.h Chaitanya Kumar Borah
2024-01-09  6:09 ` Chaitanya Kumar Borah [this message]
2024-01-09 12:37   ` [PATCH i-g-t 1/3] lib/i915/perf: include i915_pciid_local.h Kamil Konieczny
2024-01-10  8:26     ` Borah, Chaitanya Kumar
2024-01-09  6:09 ` [PATCH i-g-t 2/3] lib: Add non-kernel macros to i915_pciids_local.h Chaitanya Kumar Borah
2024-01-09  6:09 ` [PATCH v2 i-g-t 3/3] lib: sync i915_pciids.h with kernel Chaitanya Kumar Borah
2024-01-09  7:20 ` ✓ CI.xeBAT: success for Sync i915_pciid.h (rev2) Patchwork
2024-01-09  7:23 ` ✓ Fi.CI.BAT: " Patchwork
2024-01-09 13:52 ` ✗ Fi.CI.IGT: failure " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240109060943.1236373-2-chaitanya.kumar.borah@intel.com \
    --to=chaitanya.kumar.borah@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox