From: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [PATCH i-g-t 2/3] lib: Add non-kernel macros to i915_pciids_local.h
Date: Wed, 10 Jan 2024 13:45:31 +0530 [thread overview]
Message-ID: <20240110081532.1378038-3-chaitanya.kumar.borah@intel.com> (raw)
In-Reply-To: <20240110081532.1378038-1-chaitanya.kumar.borah@intel.com>
Add MTL and PVC PCI-ID macros which are not present in kernel
header to i915_pciids_local.h. This will help us sync the kernel
and IGT headers.
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_pciids_local.h | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/lib/i915_pciids_local.h b/lib/i915_pciids_local.h
index 91c26152a..1ed8364c5 100644
--- a/lib/i915_pciids_local.h
+++ b/lib/i915_pciids_local.h
@@ -7,4 +7,42 @@
#include "i915_pciids.h"
+/* MTL perf */
+#ifndef INTEL_MTL_M_IDS
+#define INTEL_MTL_M_IDS(info) \
+ INTEL_VGA_DEVICE(0x7D60, info)
+#endif
+
+#ifndef INTEL_MTL_P_GT2_IDS
+#define INTEL_MTL_P_GT2_IDS(info) \
+ INTEL_VGA_DEVICE(0x7D45, info)
+#endif
+
+#ifndef INTEL_MTL_P_GT3_IDS
+#define INTEL_MTL_P_GT3_IDS(info) \
+ INTEL_VGA_DEVICE(0x7D55, info), \
+ INTEL_VGA_DEVICE(0x7DD5, info)
+#endif
+
+#ifndef INTEL_MTL_P_IDS
+#define INTEL_MTL_P_IDS(info) \
+ INTEL_MTL_P_GT2_IDS(info), \
+ INTEL_MTL_P_GT3_IDS(info)
+#endif
+
+/* PVC */
+#ifndef INTEL_PVC_IDS
+#define INTEL_PVC_IDS(info) \
+ INTEL_VGA_DEVICE(0x0BD0, info), \
+ INTEL_VGA_DEVICE(0x0BD5, info), \
+ INTEL_VGA_DEVICE(0x0BD6, info), \
+ INTEL_VGA_DEVICE(0x0BD7, info), \
+ INTEL_VGA_DEVICE(0x0BD8, info), \
+ INTEL_VGA_DEVICE(0x0BD9, info), \
+ INTEL_VGA_DEVICE(0x0BDA, info), \
+ INTEL_VGA_DEVICE(0x0BDB, info), \
+ INTEL_VGA_DEVICE(0x0BD1, info), \
+ INTEL_VGA_DEVICE(0x0BD2, info)
+#endif
+
#endif /* _I915_PCIIDS_LOCAL_H */
--
2.25.1
next prev parent reply other threads:[~2024-01-10 8:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-10 8:15 [PATCH i-g-t 0/3] Sync i915_pciid.h Chaitanya Kumar Borah
2024-01-10 8:15 ` [PATCH i-g-t 1/3] lib/i915/perf: include i915_pciids_local.h Chaitanya Kumar Borah
2024-01-11 10:02 ` Kamil Konieczny
2024-01-10 8:15 ` Chaitanya Kumar Borah [this message]
2024-01-11 11:08 ` [PATCH i-g-t 2/3] lib: Add non-kernel macros to i915_pciids_local.h Kamil Konieczny
2024-01-11 11:11 ` Borah, Chaitanya Kumar
2024-01-11 11:13 ` Kamil Konieczny
2024-01-10 8:15 ` [PATCH i-g-t 3/3] lib: sync i915_pciids.h with kernel Chaitanya Kumar Borah
2024-01-11 10:54 ` Kamil Konieczny
2024-01-10 12:16 ` ✓ CI.xeBAT: success for Sync i915_pciid.h (rev3) Patchwork
2024-01-10 12:20 ` ✓ Fi.CI.BAT: " Patchwork
2024-01-10 14:11 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-01-10 14:45 ` [PATCH i-g-t 0/3] Sync i915_pciid.h Juha-Pekka Heikkila
2024-01-17 10:04 ` ✓ Fi.CI.IGT: success for Sync i915_pciid.h (rev3) Patchwork
-- strict thread matches above, loose matches on Subject: below --
2024-01-09 6:09 [PATCH i-g-t 0/3] Sync i915_pciid.h Chaitanya Kumar Borah
2024-01-09 6:09 ` [PATCH i-g-t 2/3] lib: Add non-kernel macros to i915_pciids_local.h Chaitanya Kumar Borah
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=20240110081532.1378038-3-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