Skip to contentSkip to conversation

lib/pci: Add new and missing PCI IDs to DG2 platform

PATCH In review Ravi Kumar Vodapalli 4 participants 5 messages Mar 26, 2024 – Mar 27, 2024 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/pci: Add new and missing PCI IDs to DG2 platform

New PCI ID is added in Bspec and some are missing in IGT, add them to driver

Bspec: 44477

---
 lib/i915_pciids.h |  4 +++-
 lib/xe_pciids.h   | 10 ++++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)
lib/i915_pciids.h +3 -1
index fcf1849aa..16221ce77 100644
@@ -709,7 +709,9 @@
 	INTEL_VGA_DEVICE(0x5692, info), \
 	INTEL_VGA_DEVICE(0x56A0, info), \
 	INTEL_VGA_DEVICE(0x56A1, info), \
-	INTEL_VGA_DEVICE(0x56A2, info)
+	INTEL_VGA_DEVICE(0x56A2, info), \
+	INTEL_VGA_DEVICE(0x56BE, info), \
+	INTEL_VGA_DEVICE(0x56BF, info)
 
 #define INTEL_DG2_G11_IDS(info) \
 	INTEL_VGA_DEVICE(0x5693, info), \
lib/xe_pciids.h +8 -2
index 29f07a00a..77aa412d2 100644
@@ -128,7 +128,9 @@
 	MACRO__(0x5692, ## __VA_ARGS__),	\
 	MACRO__(0x56A0, ## __VA_ARGS__),	\
 	MACRO__(0x56A1, ## __VA_ARGS__),	\
-	MACRO__(0x56A2, ## __VA_ARGS__)
+	MACRO__(0x56A2, ## __VA_ARGS__),	\
+	MACRO__(0x56BE, ## __VA_ARGS__),	\
+	MACRO__(0x56BF, ## __VA_ARGS__)
 
 #define XE_DG2_G11_IDS(MACRO__, ...)		\
 	MACRO__(0x5693, ## __VA_ARGS__),	\
@@ -138,7 +140,11 @@
 	MACRO__(0x56A5, ## __VA_ARGS__),	\
 	MACRO__(0x56A6, ## __VA_ARGS__),	\
 	MACRO__(0x56B0, ## __VA_ARGS__),	\
-	MACRO__(0x56B1, ## __VA_ARGS__)
+	MACRO__(0x56B1, ## __VA_ARGS__),	\
+	MACRO__(0x56BA, ## __VA_ARGS__),	\
+	MACRO__(0x56BB, ## __VA_ARGS__),	\
+	MACRO__(0x56BC, ## __VA_ARGS__),	\
+	MACRO__(0x56BD, ## __VA_ARGS__)
 
 #define XE_DG2_G12_IDS(MACRO__, ...)		\
 	MACRO__(0x5696, ## __VA_ARGS__),	\
Signature · 1 line
2.25.1
#1 lore raw

✓ CI.xeBAT: success for lib/pci: Add new and missing PCI IDs to DG2 platform

== Series Details ==

== Series Details ==

Series: lib/pci: Add new and missing PCI IDs to DG2 platform
URL : https://patchwork.freedesktop.org/series/131633/
State : success

== Summary ==

CI Bug Log - changes from XEIGT_7785_BAT -> XEIGTPW_10918_BAT
====================================================

Summary
-------

**SUCCESS**

No regressions found.

Participating hosts (4 -> 4)
------------------------------

Additional (1): bat-lnl-1
Missing (1): bat-dg2-oem2

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in XEIGTPW_10918_BAT:

### IGT changes ###

#### Suppressed ####

The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.

* igt@xe_evict@evict-mixed-threads-small-multi-vm:
- {bat-lnl-1}: NOTRUN -> [SKIP][1] +19 other tests skip
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10918/bat-lnl-1/igt@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

Build changes
-------------

* IGT: IGT_7785 -> IGTPW_10918

IGTPW_10918: 10918
IGT_7785: 7785
xe-995-79a0d94585cad50ad2446ebdf3f1317b7d18157c: 79a0d94585cad50ad2446ebdf3f1317b7d18157c

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10918/index.html

#2 lore raw

✗ Fi.CI.BAT: failure for lib/pci: Add new and missing PCI IDs to DG2 platform

In reply to Ravi Kumar Vodapalli
== Series Details ==

== Series Details ==

Series: lib/pci: Add new and missing PCI IDs to DG2 platform
URL : https://patchwork.freedesktop.org/series/131633/
State : failure

== Summary ==

CI Bug Log - changes from IGT_7785 -> IGTPW_10918
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with IGTPW_10918 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes
introduced in IGTPW_10918, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10918/index.html

Participating hosts (37 -> 37)
------------------------------

Additional (2): bat-kbl-2 fi-kbl-8809g
Missing (2): fi-cfl-8109u fi-snb-2520m

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in IGTPW_10918:

### IGT changes ###

#### Possible regressions ####

* igt@core_auth@basic-auth:
- fi-kbl-7567u: [PASS][1] -> [DMESG-WARN][2] +1 other test dmesg-warn
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7785/fi-kbl-7567u/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10918/fi-kbl-7567u/igt@[email protected]

Known issues
------------

Here are the changes found in IGTPW_10918 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@fbdev@info:
- bat-kbl-2: NOTRUN -> [SKIP][3] ([i915#1849])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10918/bat-kbl-2/igt@[email protected]

* igt@gem_lmem_swapping@parallel-random-engines:
- bat-kbl-2: NOTRUN -> [SKIP][4] +39 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10918/bat-kbl-2/igt@[email protected]

* igt@i915_selftest@live@guc_multi_lrc:
- bat-dg2-9: [PASS][5] -> [ABORT][6] ([i915#10366])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7785/bat-dg2-9/igt@i915_selftest@live@guc_multi_lrc.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10918/bat-dg2-9/igt@i915_selftest@live@guc_multi_lrc.html

* igt@kms_addfb_basic@invalid-set-prop:
- fi-kbl-7567u: [PASS][7] -> [DMESG-WARN][8] ([i915#8585]) +38 other tests dmesg-warn
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7785/fi-kbl-7567u/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10918/fi-kbl-7567u/igt@[email protected]

* igt@kms_busy@basic@modeset:
- fi-kbl-7567u: [PASS][9] -> [INCOMPLETE][10] ([i915#10056])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7785/fi-kbl-7567u/igt@kms_busy@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10918/fi-kbl-7567u/igt@kms_busy@[email protected]

* igt@runner@aborted:
- fi-kbl-8809g: NOTRUN -> [FAIL][11] ([i915#4991])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10918/fi-kbl-8809g/igt@[email protected]

#### Possible fixes ####

* igt@i915_selftest@live@mman:
- bat-dg2-14: [ABORT][12] ([i915#10366]) -> [PASS][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7785/bat-dg2-14/igt@i915_selftest@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10918/bat-dg2-14/igt@i915_selftest@[email protected]

[i915#10056]: https://gitlab.freedesktop.org/drm/intel/issues/10056
[i915#10366]: https://gitlab.freedesktop.org/drm/intel/issues/10366
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#4991]: https://gitlab.freedesktop.org/drm/intel/issues/4991
[i915#8585]: https://gitlab.freedesktop.org/drm/intel/issues/8585

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_7785 -> IGTPW_10918

CI-20190529: 20190529
CI_DRM_14486: 79a0d94585cad50ad2446ebdf3f1317b7d18157c @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_10918: 10918
IGT_7785: 7785

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10918/index.html

#3 lore raw
In reply to Ravi Kumar Vodapalli
Quoted 2 lines · Ravi Kumar Vodapalli

New PCI ID is added in Bspec and some are missing in IGT, add them to driver

Generally rather than modifying these headers by hand in IGT we just copy the version of the files out of the kernel source tree and then create a commit that specifies the specific kernel commit ID that we've synchronized up to. For example, see commit 1b32bcdb2 ("lib: sync i915_pciids.h with kernel").

The Xe driver kernel patch has landed, but the i915 one is still waiting for CI, so we should probably wait for that to land, then create a "sync" commit here to copy the latest snapshot of these headers over.

Matt

Quoted 54 lines

Bspec: 44477

---
 lib/i915_pciids.h |  4 +++-
 lib/xe_pciids.h   | 10 ++++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)
lib/i915_pciids.h +3 -1
index fcf1849aa..16221ce77 100644
@@ -709,7 +709,9 @@
 	INTEL_VGA_DEVICE(0x5692, info), \
 	INTEL_VGA_DEVICE(0x56A0, info), \
 	INTEL_VGA_DEVICE(0x56A1, info), \
-	INTEL_VGA_DEVICE(0x56A2, info)
+	INTEL_VGA_DEVICE(0x56A2, info), \
+	INTEL_VGA_DEVICE(0x56BE, info), \
+	INTEL_VGA_DEVICE(0x56BF, info)
 
 #define INTEL_DG2_G11_IDS(info) \
 	INTEL_VGA_DEVICE(0x5693, info), \
lib/xe_pciids.h +8 -2
index 29f07a00a..77aa412d2 100644
@@ -128,7 +128,9 @@
 	MACRO__(0x5692, ## __VA_ARGS__),	\
 	MACRO__(0x56A0, ## __VA_ARGS__),	\
 	MACRO__(0x56A1, ## __VA_ARGS__),	\
-	MACRO__(0x56A2, ## __VA_ARGS__)
+	MACRO__(0x56A2, ## __VA_ARGS__),	\
+	MACRO__(0x56BE, ## __VA_ARGS__),	\
+	MACRO__(0x56BF, ## __VA_ARGS__)
 
 #define XE_DG2_G11_IDS(MACRO__, ...)		\
 	MACRO__(0x5693, ## __VA_ARGS__),	\
@@ -138,7 +140,11 @@
 	MACRO__(0x56A5, ## __VA_ARGS__),	\
 	MACRO__(0x56A6, ## __VA_ARGS__),	\
 	MACRO__(0x56B0, ## __VA_ARGS__),	\
-	MACRO__(0x56B1, ## __VA_ARGS__)
+	MACRO__(0x56B1, ## __VA_ARGS__),	\
+	MACRO__(0x56BA, ## __VA_ARGS__),	\
+	MACRO__(0x56BB, ## __VA_ARGS__),	\
+	MACRO__(0x56BC, ## __VA_ARGS__),	\
+	MACRO__(0x56BD, ## __VA_ARGS__)
 
 #define XE_DG2_G12_IDS(MACRO__, ...)		\
 	MACRO__(0x5696, ## __VA_ARGS__),	\
Signature · 1 line
2.25.1
Signature · 4 lines
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation
#4 lore raw
In reply to Ravi Kumar Vodapalli

Hi Ravi,

Quoted 1 line · Ravi Kumar Vodapalli

New PCI ID is added in Bspec and some are missing in IGT, add them

------------------------ ^^^^^
Instead of this you should write about Linux kernel commit, with a link to lore.kernel.org

Quoted 3 lines

to driver

Bspec: 44477

- ^^^^^^^^^^^^
Please do not write this nor JIRA here. See also reply from Matt.

Regards,
Kamil

Quoted 52 lines
---
 lib/i915_pciids.h |  4 +++-
 lib/xe_pciids.h   | 10 ++++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)
lib/i915_pciids.h +3 -1
index fcf1849aa..16221ce77 100644
@@ -709,7 +709,9 @@
 	INTEL_VGA_DEVICE(0x5692, info), \
 	INTEL_VGA_DEVICE(0x56A0, info), \
 	INTEL_VGA_DEVICE(0x56A1, info), \
-	INTEL_VGA_DEVICE(0x56A2, info)
+	INTEL_VGA_DEVICE(0x56A2, info), \
+	INTEL_VGA_DEVICE(0x56BE, info), \
+	INTEL_VGA_DEVICE(0x56BF, info)
 
 #define INTEL_DG2_G11_IDS(info) \
 	INTEL_VGA_DEVICE(0x5693, info), \
lib/xe_pciids.h +8 -2
index 29f07a00a..77aa412d2 100644
@@ -128,7 +128,9 @@
 	MACRO__(0x5692, ## __VA_ARGS__),	\
 	MACRO__(0x56A0, ## __VA_ARGS__),	\
 	MACRO__(0x56A1, ## __VA_ARGS__),	\
-	MACRO__(0x56A2, ## __VA_ARGS__)
+	MACRO__(0x56A2, ## __VA_ARGS__),	\
+	MACRO__(0x56BE, ## __VA_ARGS__),	\
+	MACRO__(0x56BF, ## __VA_ARGS__)
 
 #define XE_DG2_G11_IDS(MACRO__, ...)		\
 	MACRO__(0x5693, ## __VA_ARGS__),	\
@@ -138,7 +140,11 @@
 	MACRO__(0x56A5, ## __VA_ARGS__),	\
 	MACRO__(0x56A6, ## __VA_ARGS__),	\
 	MACRO__(0x56B0, ## __VA_ARGS__),	\
-	MACRO__(0x56B1, ## __VA_ARGS__)
+	MACRO__(0x56B1, ## __VA_ARGS__),	\
+	MACRO__(0x56BA, ## __VA_ARGS__),	\
+	MACRO__(0x56BB, ## __VA_ARGS__),	\
+	MACRO__(0x56BC, ## __VA_ARGS__),	\
+	MACRO__(0x56BD, ## __VA_ARGS__)
 
 #define XE_DG2_G12_IDS(MACRO__, ...)		\
 	MACRO__(0x5696, ## __VA_ARGS__),	\
Signature · 1 line
2.25.1