tools/lsgpu: Add switch to display gpu pci devices
PATCH v2 1/1 tools/lsgpu: Add switch to display gpu pci devices
Device scanning in IGT is based on iterating over udev drm devices. This limits to display only to devices which have driver loaded.
To remove this limitation add dedicated udev pci scanning in lsgpu which displays all gpu devices (pci class 0x30000).
---
v2: Remove unnecessary variable
Add pci-id and use codename only when is pretty
--- tools/lsgpu.c | 89 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 87 insertions(+), 2 deletions(-)
tools/lsgpu.c +87 -2
@@ -30,6 +30,7 @@#include <string.h> #include <signal.h> #include <glib.h> +#include <libudev.h> /** * SECTION:lsgpu
@@ -77,12 +78,14 @@ enum {OPT_LIST_VENDORS ='v' ,OPT_LIST_FILTERS ='l' ,OPT_DEVICE ='d' , -OPT_HELP ='h' +OPT_HELP ='h' , + OPT_PCISCAN = 'P', };static bool g_show_vendors;static bool g_list_filters;static bool g_help; +static bool g_pciscan;static char *igt_device; static const char *usage_str =
@@ -158,6 +161,82 @@ static char *get_device_from_rc(void)return rc_device; } +static int pciscan (void ) +{ +struct udev *udev; +struct udev_enumerate *enumerate; +struct udev_list_entry *devices, *dev_list_entry; +struct igt_device_card card; +char pcistr[10 ]; +int ret; + + udev =udev_new (); +igt_assert (udev); + + enumerate =udev_enumerate_new (udev); +igt_assert (enumerate); + +printf ("Scanning pci subsystem\n" ); +printf ("----------------------\n" ); + ret =udev_enumerate_add_match_subsystem (enumerate,"pci" ); +igt_assert (!ret); + + ret =udev_enumerate_add_match_property (enumerate,"PCI_CLASS" ,"30000" ); +igt_assert (!ret); + + ret =udev_enumerate_scan_devices (enumerate); +igt_assert (!ret); + + devices =udev_enumerate_get_list_entry (enumerate); +if (!devices) { +printf ("No pci devices with class 0x30000 found\n" ); +return 0 ; + } + + udev_list_entry_foreach(dev_list_entry, devices) { +const char *path; +struct udev_device *udev_dev; +struct udev_list_entry *entry; +char *codename; + + path =udev_list_entry_get_name (dev_list_entry); + udev_dev =udev_device_new_from_syspath (udev, path); +printf ("[%s]\n" , path); + +strcpy (card.pci_slot_name,"-" ); + entry =udev_device_get_properties_list_entry (udev_dev); +while (entry) { +const char *name =udev_list_entry_get_name (entry); +const char *value =udev_list_entry_get_value (entry); + + entry =udev_list_entry_get_next (entry); +if (!strcmp (name,"ID_VENDOR_FROM_DATABASE" )) +printf (" vendor [db]: %s\n" , value); +else if (!strcmp (name,"ID_MODEL_FROM_DATABASE" )) +printf (" model [db]: %s\n" , value); +else if (!strcmp (name,"DRIVER" )) +printf (" driver : %s\n" , value); +else if (!strcmp (name,"PCI_ID" )) +igt_assert_eq (sscanf (value,"%hx:%hx" , + &card.pci_vendor, &card.pci_device),2 ); + } +snprintf (pcistr,sizeof (pcistr),"%04x:%04x" , + card.pci_vendor, card.pci_device); +printf (" pci id : %s\n" , pcistr); + codename =igt_device_get_pretty_name (&card, false); +if (strcmp (pcistr, codename)) +printf (" codename : %s\n" , codename); +free (codename); + +udev_device_unref (udev_dev); + } + +udev_enumerate_unref (enumerate); +udev_unref (udev); + +return 0 ; +} +int main (int argc,char *argv[]) {static struct option long_options[] = {
@@ -180,7 +259,7 @@ int main(int argc, char *argv[]) .type = IGT_PRINT_USER, }; -while ((c =getopt_long (argc, argv,"ncspvld:h" , +while ((c =getopt_long (argc, argv,"ncspvld:hP" , long_options, &index)) !=-1 ) {switch (c) {
@@ -208,6 +287,9 @@ int main(int argc, char *argv[])case OPT_HELP : g_help = true;break ; +case OPT_PCISCAN : + g_pciscan = true; +break ;case 0 : fmt.option =IGT_PRINT_DRM ;break ;
@@ -220,6 +302,9 @@ int main(int argc, char *argv[]) } } +if (g_pciscan) +return pciscan (); +if (g_help) {printf ("%s\n" , usage_str);exit (0 );
Signature · 1 line
2.34.1
Patchwork
CI✓ CI.xeBAT: success for tools/lsgpu: Add switch to display gpu pci devices (rev2)
== Series Details ==
== Series Details ==
Series: tools/lsgpu: Add switch to display gpu pci devices (rev2)
URL : https://patchwork.freedesktop.org/series/134438/
State : success
== Summary ==
CI Bug Log - changes from XEIGT_7877_BAT -> XEIGTPW_11220_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (5 -> 4)
------------------------------
Missing (1): bat-adlp-7
Changes
-------
No changes found
Build changes
-------------
* IGT: IGT_7877 -> IGTPW_11220
* Linux: xe-1391-692c2b76453385a04b1eef40f3cdbc0097074f62 -> xe-1399-596cf447db94909c4788fd612876520531e439b0
IGTPW_11220: 11220
IGT_7877: 23b8b8a0168e1b5141e29346be1f83fdbed31037 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-1391-692c2b76453385a04b1eef40f3cdbc0097074f62: 692c2b76453385a04b1eef40f3cdbc0097074f62 xe-1399-596cf447db94909c4788fd612876520531e439b0: 596cf447db94909c4788fd612876520531e439b0
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/index.html
Patchwork
CI✗ Fi.CI.BAT: failure for tools/lsgpu: Add switch to display gpu pci devices (rev2)
In reply to Zbigniew Kempczyński== Series Details ==
== Series Details ==
Series: tools/lsgpu: Add switch to display gpu pci devices (rev2)
URL : https://patchwork.freedesktop.org/series/134438/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_14875 -> IGTPW_11220
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_11220 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_11220, 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_11220/index.html
Participating hosts (39 -> 34)
------------------------------
Additional (5): fi-kbl-7567u bat-dg1-7 fi-bsw-n3050 bat-dg2-11 bat-mtlp-6
Missing (10): bat-kbl-2 bat-adlp-9 fi-snb-2520m bat-adlp-6 fi-kbl-8809g bat-atsm-1 fi-cfl-8109u fi-pnv-d510 bat-dg2-14 bat-arls-1
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_11220:
### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@gt_heartbeat:
- fi-kbl-7567u: NOTRUN -> [DMESG-WARN][1] +31 other tests dmesg-warn
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/fi-kbl-7567u/igt@i915_selftest@live@gt_heartbeat.html
Known issues
------------
Here are the changes found in IGTPW_11220 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@debugfs_test@basic-hwmon:
- bat-mtlp-6: NOTRUN -> [SKIP][2] ([i915#9318])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
* igt@fbdev@info:
- bat-mtlp-6: NOTRUN -> [SKIP][3] ([i915#1849] / [i915#2582])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
* igt@fbdev@write:
- bat-mtlp-6: NOTRUN -> [SKIP][4] ([i915#2582]) +3 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
* igt@gem_huc_copy@huc-copy:
- fi-kbl-7567u: NOTRUN -> [SKIP][5] ([i915#2190])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/fi-kbl-7567u/igt@[email protected]
* igt@gem_lmem_swapping@basic:
- fi-kbl-7567u: NOTRUN -> [SKIP][6] ([i915#4613]) +3 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/fi-kbl-7567u/igt@[email protected]
* igt@gem_lmem_swapping@basic@lmem0:
- bat-dg2-8: [PASS][7] -> [FAIL][8] ([i915#10378])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14875/bat-dg2-8/igt@gem_lmem_swapping@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg2-8/igt@gem_lmem_swapping@[email protected]
* igt@gem_lmem_swapping@random-engines:
- fi-bsw-n3050: NOTRUN -> [SKIP][9] +19 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/fi-bsw-n3050/igt@[email protected]
* igt@gem_lmem_swapping@verify-random:
- bat-mtlp-6: NOTRUN -> [SKIP][10] ([i915#4613]) +3 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
* igt@gem_mmap@basic:
- bat-dg1-7: NOTRUN -> [SKIP][11] ([i915#4083])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg1-7/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][12] ([i915#4083])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg2-11/igt@[email protected]
- bat-mtlp-6: NOTRUN -> [SKIP][13] ([i915#4083])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
* igt@gem_tiled_blits@basic:
- bat-mtlp-6: NOTRUN -> [SKIP][14] ([i915#4077]) +2 other tests skip
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
* igt@gem_tiled_fence_blits@basic:
- bat-dg1-7: NOTRUN -> [SKIP][15] ([i915#4077]) +2 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg1-7/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][16] ([i915#4077]) +2 other tests skip
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg2-11/igt@[email protected]
* igt@gem_tiled_pread_basic:
- bat-dg1-7: NOTRUN -> [SKIP][17] ([i915#4079]) +1 other test skip
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg1-7/igt@gem_tiled_pread_basic.html
- bat-dg2-11: NOTRUN -> [SKIP][18] ([i915#4079]) +1 other test skip
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg2-11/igt@gem_tiled_pread_basic.html
- bat-mtlp-6: NOTRUN -> [SKIP][19] ([i915#4079]) +1 other test skip
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@gem_tiled_pread_basic.html
* igt@i915_pm_rps@basic-api:
- bat-dg1-7: NOTRUN -> [SKIP][20] ([i915#6621])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg1-7/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][21] ([i915#6621])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg2-11/igt@[email protected]
- bat-mtlp-6: NOTRUN -> [SKIP][22] ([i915#6621])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
* igt@kms_addfb_basic@addfb25-x-tiled-legacy:
- bat-mtlp-6: NOTRUN -> [SKIP][23] ([i915#4212] / [i915#9792]) +8 other tests skip
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
* igt@kms_addfb_basic@addfb25-x-tiled-mismatch-legacy:
- bat-dg1-7: NOTRUN -> [SKIP][24] ([i915#4212]) +7 other tests skip
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg1-7/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][25] ([i915#4212]) +7 other tests skip
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg2-11/igt@[email protected]
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-mtlp-6: NOTRUN -> [SKIP][26] ([i915#5190] / [i915#9792])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][27] ([i915#5190])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg2-11/igt@[email protected]
* igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-dg1-7: NOTRUN -> [SKIP][28] ([i915#4215])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg1-7/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][29] ([i915#4215] / [i915#5190])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg2-11/igt@[email protected]
* igt@kms_addfb_basic@invalid-set-prop:
- fi-kbl-7567u: NOTRUN -> [DMESG-WARN][30] ([i915#8585]) +80 other tests dmesg-warn
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/fi-kbl-7567u/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- bat-dg2-11: NOTRUN -> [SKIP][31] ([i915#4103] / [i915#4213]) +1 other test skip
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg2-11/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-dg1-7: NOTRUN -> [SKIP][32] ([i915#4103] / [i915#4213]) +1 other test skip
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg1-7/igt@[email protected]
* igt@kms_cursor_legacy@basic-flip-after-cursor-legacy:
- bat-mtlp-6: NOTRUN -> [SKIP][33] ([i915#9792]) +17 other tests skip
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- bat-dg2-11: NOTRUN -> [SKIP][34] ([i915#3555] / [i915#3840])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg2-11/igt@[email protected]
- bat-dg1-7: NOTRUN -> [SKIP][35] ([i915#3555] / [i915#3840])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg1-7/igt@[email protected]
* igt@kms_flip@basic-flip-vs-dpms:
- bat-mtlp-6: NOTRUN -> [SKIP][36] ([i915#3637] / [i915#9792]) +3 other tests skip
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- fi-kbl-7567u: NOTRUN -> [SKIP][37] +11 other tests skip
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/fi-kbl-7567u/igt@[email protected]
- bat-dg1-7: NOTRUN -> [SKIP][38]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg1-7/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][39]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg2-11/igt@[email protected]
* igt@kms_force_connector_basic@prune-stale-modes:
- bat-dg2-11: NOTRUN -> [SKIP][40] ([i915#5274])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg2-11/igt@[email protected]
- bat-mtlp-6: NOTRUN -> [SKIP][41] ([i915#5274] / [i915#9792])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- bat-mtlp-6: NOTRUN -> [SKIP][42] ([i915#4342] / [i915#5354] / [i915#9792])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
* igt@kms_hdmi_inject@inject-audio:
- bat-dg1-7: NOTRUN -> [SKIP][43] ([i915#433])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg1-7/igt@[email protected]
* igt@kms_pm_backlight@basic-brightness:
- bat-dg1-7: NOTRUN -> [SKIP][44] ([i915#5354])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg1-7/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][45] ([i915#5354])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg2-11/igt@[email protected]
- bat-mtlp-6: NOTRUN -> [SKIP][46] ([i915#5354] / [i915#9792])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
* igt@kms_pm_rpm@basic-pci-d3-state:
- fi-kbl-7567u: NOTRUN -> [DMESG-WARN][47] ([i915#1982] / [i915#8585]) +2 other tests dmesg-warn
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/fi-kbl-7567u/igt@[email protected]
* igt@kms_psr@psr-cursor-plane-move:
- bat-mtlp-6: NOTRUN -> [SKIP][48] ([i915#1072] / [i915#9673] / [i915#9732] / [i915#9792]) +3 other tests skip
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
* igt@kms_psr@psr-primary-page-flip:
- bat-dg1-7: NOTRUN -> [SKIP][49] ([i915#1072] / [i915#9732]) +3 other tests skip
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg1-7/igt@[email protected]
* igt@kms_psr@psr-sprite-plane-onoff:
- bat-dg2-11: NOTRUN -> [SKIP][50] ([i915#1072] / [i915#9732]) +3 other tests skip
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg2-11/igt@[email protected]
* igt@kms_setmode@basic-clone-single-crtc:
- bat-dg2-11: NOTRUN -> [SKIP][51] ([i915#3555])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg2-11/igt@[email protected]
- bat-mtlp-6: NOTRUN -> [SKIP][52] ([i915#3555] / [i915#8809] / [i915#9792])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
- bat-dg1-7: NOTRUN -> [SKIP][53] ([i915#3555])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg1-7/igt@[email protected]
* igt@prime_vgem@basic-fence-flip:
- bat-dg1-7: NOTRUN -> [SKIP][54] ([i915#3708]) +3 other tests skip
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg1-7/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][55] ([i915#3708])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg2-11/igt@[email protected]
- bat-mtlp-6: NOTRUN -> [SKIP][56] ([i915#3708] / [i915#9792])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
* igt@prime_vgem@basic-fence-mmap:
- bat-dg1-7: NOTRUN -> [SKIP][57] ([i915#3708] / [i915#4077]) +1 other test skip
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg1-7/igt@[email protected]
- bat-dg2-11: NOTRUN -> [SKIP][58] ([i915#3708] / [i915#4077]) +1 other test skip
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg2-11/igt@[email protected]
- bat-mtlp-6: NOTRUN -> [SKIP][59] ([i915#3708] / [i915#4077]) +1 other test skip
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
* igt@prime_vgem@basic-read:
- bat-dg2-11: NOTRUN -> [SKIP][60] ([i915#3291] / [i915#3708]) +2 other tests skip
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg2-11/igt@[email protected]
- bat-mtlp-6: NOTRUN -> [SKIP][61] ([i915#3708]) +1 other test skip
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
* igt@prime_vgem@basic-write:
- bat-mtlp-6: NOTRUN -> [SKIP][62] ([i915#10216] / [i915#3708])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-mtlp-6/igt@[email protected]
#### Possible fixes ####
* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- bat-dg2-13: [FAIL][63] ([i915#11166]) -> [PASS][64]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14875/bat-dg2-13/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/bat-dg2-13/igt@[email protected]
[i915#10216]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10216
[i915#10378]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10378
[i915#1072]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/1072
[i915#11166]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11166
[i915#1849]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/1849
[i915#1982]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/1982
[i915#2190]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/2190
[i915#2582]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/2582
[i915#3291]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3291
[i915#3555]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3637
[i915#3708]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3708
[i915#3840]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3840
[i915#4077]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4213
[i915#4215]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4215
[i915#433]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/433
[i915#4342]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4342
[i915#4613]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4613
[i915#5190]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5190
[i915#5274]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5274
[i915#5354]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5354
[i915#6621]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/6621
[i915#8585]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/8585
[i915#8809]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/8809
[i915#9318]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9318
[i915#9673]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9673
[i915#9732]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9732
[i915#9792]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9792
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7877 -> IGTPW_11220
CI-20190529: 20190529
CI_DRM_14875: 596cf447db94909c4788fd612876520531e439b0 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_11220: 11220
IGT_7877: 23b8b8a0168e1b5141e29346be1f83fdbed31037 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_11220/index.html
Patchwork
CI✓ CI.xeFULL: success for tools/lsgpu: Add switch to display gpu pci devices (rev2)
In reply to Zbigniew Kempczyński== Series Details ==
== Series Details ==
Series: tools/lsgpu: Add switch to display gpu pci devices (rev2)
URL : https://patchwork.freedesktop.org/series/134438/
State : success
== Summary ==
CI Bug Log - changes from XEIGT_7877_full -> XEIGTPW_11220_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (3 -> 2)
------------------------------
Missing (1): shard-adlp
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in XEIGTPW_11220_full:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@kms_fbcon_fbt@psr-suspend:
- {shard-lnl}: [DMESG-WARN][1] ([Intel XE#1830]) -> [FAIL][2] +4 other tests fail
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-lnl-6/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-lnl-7/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@b-edp1:
- {shard-lnl}: NOTRUN -> [FAIL][3] +2 other tests fail
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-lnl-1/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-shrfb-draw-mmap-wc:
- {shard-lnl}: [SKIP][4] ([Intel XE#656]) -> [INCOMPLETE][5]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-lnl-1/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-shrfb-draw-mmap-wc.html
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-lnl-2/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-shrfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbc-rgb565-draw-render:
- {shard-lnl}: [PASS][6] -> [INCOMPLETE][7]
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-lnl-1/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-lnl-1/igt@[email protected]
* igt@kms_pm_dc@dc9-dpms:
- {shard-lnl}: [PASS][8] -> [FAIL][9] +12 other tests fail
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-lnl-7/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-lnl-6/igt@[email protected]
* igt@xe_pm@s2idle-multiple-execs:
- {shard-lnl}: NOTRUN -> [DMESG-FAIL][10]
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-lnl-8/igt@[email protected]
* igt@xe_pm@s2idle-vm-bind-prefetch:
- {shard-lnl}: [PASS][11] -> [DMESG-FAIL][12]
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-lnl-2/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-lnl-7/igt@[email protected]
Known issues
------------
Here are the changes found in XEIGTPW_11220_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_big_fb@x-tiled-32bpp-rotate-270:
- shard-dg2-set2: NOTRUN -> [SKIP][13] ([Intel XE#1201] / [Intel XE#316])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-433/igt@[email protected]
* igt@kms_big_fb@y-tiled-16bpp-rotate-270:
- shard-dg2-set2: NOTRUN -> [SKIP][14] ([Intel XE#1124]) +2 other tests skip
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@kms_big_fb@y-tiled-64bpp-rotate-0:
- shard-dg2-set2: NOTRUN -> [SKIP][15] ([Intel XE#1124] / [Intel XE#1201]) +2 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-463/igt@[email protected]
* igt@kms_big_fb@yf-tiled-addfb-size-overflow:
- shard-dg2-set2: NOTRUN -> [SKIP][16] ([Intel XE#1201] / [Intel XE#610])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-433/igt@[email protected]
* igt@kms_big_joiner@invalid-modeset:
- shard-dg2-set2: NOTRUN -> [SKIP][17] ([Intel XE#1201] / [Intel XE#346])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-436/igt@[email protected]
* igt@kms_bw@linear-tiling-1-displays-2160x1440p:
- shard-dg2-set2: NOTRUN -> [SKIP][18] ([Intel XE#1201] / [Intel XE#367])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-464/igt@[email protected]
* igt@kms_ccs@random-ccs-data-y-tiled-gen12-rc-ccs@pipe-b-dp-4:
- shard-dg2-set2: NOTRUN -> [SKIP][19] ([Intel XE#787]) +6 other tests skip
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@kms_ccs@[email protected]
* igt@kms_ccs@random-ccs-data-y-tiled-gen12-rc-ccs@pipe-d-dp-4:
- shard-dg2-set2: NOTRUN -> [SKIP][20] ([Intel XE#455] / [Intel XE#787]) +1 other test skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@kms_ccs@[email protected]
* igt@kms_chamelium_hpd@hdmi-hpd-with-enabled-mode:
- shard-dg2-set2: NOTRUN -> [SKIP][21] ([Intel XE#1201] / [Intel XE#373]) +2 other tests skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-435/igt@[email protected]
* igt@kms_content_protection@atomic-dpms:
- shard-dg2-set2: NOTRUN -> [FAIL][22] ([Intel XE#1178]) +1 other test fail
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-435/igt@[email protected]
* igt@kms_cursor_crc@cursor-onscreen-512x512:
- shard-dg2-set2: NOTRUN -> [SKIP][23] ([Intel XE#1201] / [Intel XE#308])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-463/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- shard-dg2-set2: NOTRUN -> [SKIP][24] ([Intel XE#1201] / [Intel XE#323])
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-464/igt@[email protected]
* igt@kms_cursor_legacy@cursora-vs-flipa-varying-size:
- shard-dg2-set2: NOTRUN -> [DMESG-WARN][25] ([Intel XE#1214] / [Intel XE#282]) +1 other test dmesg-warn
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-434/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-cur-indfb-draw-blt:
- shard-dg2-set2: NOTRUN -> [SKIP][26] ([Intel XE#1201] / [Intel XE#651]) +9 other tests skip
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-436/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-cur-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-render:
- shard-dg2-set2: NOTRUN -> [SKIP][27] ([Intel XE#653]) +2 other tests skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-render.html
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-draw-mmap-wc:
- shard-dg2-set2: NOTRUN -> [SKIP][28] ([Intel XE#1201] / [Intel XE#653]) +10 other tests skip
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-436/igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-draw-mmap-wc.html
* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25:
- shard-dg2-set2: NOTRUN -> [SKIP][29] ([Intel XE#1201] / [Intel XE#305] / [Intel XE#455])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-434/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25.html
* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-c-hdmi-a-6:
- shard-dg2-set2: NOTRUN -> [SKIP][30] ([Intel XE#1201] / [Intel XE#305]) +2 other tests skip
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-434/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-c-hdmi-a-6.html
* igt@kms_psr@fbc-psr-sprite-render:
- shard-dg2-set2: NOTRUN -> [SKIP][31] ([Intel XE#1201] / [Intel XE#929]) +3 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-463/igt@[email protected]
* igt@kms_vrr@seamless-rr-switch-virtual:
- shard-dg2-set2: NOTRUN -> [SKIP][32] ([Intel XE#1201] / [Intel XE#455]) +2 other tests skip
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-464/igt@[email protected]
* igt@kms_writeback@writeback-check-output-xrgb2101010:
- shard-dg2-set2: NOTRUN -> [SKIP][33] ([Intel XE#1201] / [Intel XE#756])
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-464/igt@[email protected]
* igt@xe_copy_basic@mem-copy-linear-0x3fff:
- shard-dg2-set2: NOTRUN -> [SKIP][34] ([Intel XE#1123])
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@xe_copy_basic@mem-copy-linear-0xfffe:
- shard-dg2-set2: NOTRUN -> [SKIP][35] ([Intel XE#1123] / [Intel XE#1201])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-434/igt@[email protected]
* igt@xe_evict@evict-large-multi-vm-cm:
- shard-dg2-set2: [PASS][36] -> [FAIL][37] ([Intel XE#1600])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-434/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-464/igt@[email protected]
* igt@xe_exec_fault_mode@many-execqueues-basic-prefetch:
- shard-dg2-set2: NOTRUN -> [SKIP][38] ([Intel XE#1201] / [Intel XE#288]) +10 other tests skip
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-463/igt@[email protected]
* igt@xe_vm@large-userptr-binds-4194304:
- shard-dg2-set2: [PASS][39] -> [DMESG-WARN][40] ([Intel XE#1214] / [Intel XE#1638])
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-435/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-464/igt@[email protected]
#### Possible fixes ####
* {igt@core_getversion@all-cards}:
- shard-dg2-set2: [DMESG-WARN][41] ([Intel XE#1162] / [Intel XE#1214]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-436/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-180-hflip:
- {shard-lnl}: [FAIL][43] ([Intel XE#1659]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-lnl-7/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-lnl-3/igt@[email protected]
* igt@kms_cursor_legacy@2x-cursor-vs-flip-atomic:
- shard-dg2-set2: [DMESG-WARN][45] ([Intel XE#1214] / [Intel XE#282] / [Intel XE#910]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-463/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@kms_flip@flip-vs-suspend@d-dp4:
- shard-dg2-set2: [INCOMPLETE][47] ([Intel XE#1195]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-464/igt@kms_flip@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-436/igt@kms_flip@[email protected]
* igt@xe_evict@evict-beng-threads-large:
- shard-dg2-set2: [TIMEOUT][49] ([Intel XE#1473]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-435/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@xe_live_ktest@xe_migrate:
- shard-dg2-set2: [SKIP][51] ([Intel XE#1192]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@xe_live_ktest@xe_migrate.html
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-435/igt@xe_live_ktest@xe_migrate.html
* igt@xe_pm@s4-d3hot-basic-exec:
- {shard-lnl}: [ABORT][53] ([Intel XE#1358] / [Intel XE#1607]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-lnl-2/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-lnl-1/igt@[email protected]
* igt@xe_pm@s4-mocs:
- shard-dg2-set2: [DMESG-WARN][55] ([Intel XE#1214]) -> [PASS][56] +1 other test pass
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-466/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-464/igt@[email protected]
* igt@xe_pm_residency@gt-c6-on-idle:
- {shard-lnl}: [FAIL][57] ([Intel XE#1442]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-lnl-3/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-lnl-7/igt@[email protected]
* igt@xe_vm@mmap-style-bind-either-side-partial-hammer:
- {shard-lnl}: [FAIL][59] ([Intel XE#1081]) -> [PASS][60]
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-lnl-3/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-lnl-8/igt@[email protected]
#### Warnings ####
* igt@kms_big_fb@4-tiled-64bpp-rotate-270:
- shard-dg2-set2: [SKIP][61] ([Intel XE#1201] / [Intel XE#316]) -> [SKIP][62] ([Intel XE#316]) +2 other tests skip
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-463/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@kms_big_fb@4-tiled-8bpp-rotate-90:
- shard-dg2-set2: [SKIP][63] ([Intel XE#316]) -> [SKIP][64] ([Intel XE#1201] / [Intel XE#316]) +2 other tests skip
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-435/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-dg2-set2: [SKIP][65] ([Intel XE#1124] / [Intel XE#1201]) -> [SKIP][66] ([Intel XE#1124]) +1 other test skip
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-433/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip:
- shard-dg2-set2: [SKIP][67] ([Intel XE#1124]) -> [SKIP][68] ([Intel XE#1124] / [Intel XE#1201]) +4 other tests skip
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-463/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html
* igt@kms_bw@linear-tiling-1-displays-3840x2160p:
- shard-dg2-set2: [SKIP][69] ([Intel XE#1201] / [Intel XE#367]) -> [SKIP][70] ([Intel XE#367])
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-463/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@kms_bw@linear-tiling-3-displays-2560x1440p:
- shard-dg2-set2: [SKIP][71] ([Intel XE#367]) -> [SKIP][72] ([Intel XE#1201] / [Intel XE#367])
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-435/igt@[email protected]
* igt@kms_ccs@bad-aux-stride-4-tiled-mtl-rc-ccs@pipe-b-dp-4:
- shard-dg2-set2: [SKIP][73] ([Intel XE#787]) -> [SKIP][74] ([Intel XE#1201] / [Intel XE#787]) +20 other tests skip
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@kms_ccs@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-435/igt@kms_ccs@[email protected]
* igt@kms_ccs@bad-aux-stride-4-tiled-mtl-rc-ccs@pipe-d-dp-4:
- shard-dg2-set2: [SKIP][75] ([Intel XE#455] / [Intel XE#787]) -> [SKIP][76] ([Intel XE#1201] / [Intel XE#455] / [Intel XE#787]) +5 other tests skip
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@kms_ccs@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-435/igt@kms_ccs@[email protected]
* igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-rc-ccs@pipe-c-dp-4:
- shard-dg2-set2: [SKIP][77] ([Intel XE#1201] / [Intel XE#787]) -> [SKIP][78] ([Intel XE#787]) +27 other tests skip
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-464/igt@kms_ccs@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@kms_ccs@[email protected]
* igt@kms_ccs@crc-primary-basic-yf-tiled-ccs@pipe-d-dp-4:
- shard-dg2-set2: [SKIP][79] ([Intel XE#1201] / [Intel XE#455] / [Intel XE#787]) -> [SKIP][80] ([Intel XE#455] / [Intel XE#787]) +7 other tests skip
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-433/igt@kms_ccs@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@kms_ccs@[email protected]
* igt@kms_cdclk@plane-scaling@pipe-b-dp-4:
- shard-dg2-set2: [SKIP][81] ([Intel XE#1152] / [Intel XE#1201]) -> [SKIP][82] ([Intel XE#1152]) +3 other tests skip
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-434/igt@kms_cdclk@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@kms_cdclk@[email protected]
* igt@kms_chamelium_audio@dp-audio:
- shard-dg2-set2: [SKIP][83] ([Intel XE#373]) -> [SKIP][84] ([Intel XE#1201] / [Intel XE#373]) +2 other tests skip
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-435/igt@[email protected]
* igt@kms_chamelium_color@ctm-red-to-blue:
- shard-dg2-set2: [SKIP][85] ([Intel XE#306]) -> [SKIP][86] ([Intel XE#1201] / [Intel XE#306])
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-464/igt@[email protected]
* igt@kms_chamelium_hpd@dp-hpd-after-suspend:
- shard-dg2-set2: [SKIP][87] ([Intel XE#1201] / [Intel XE#373]) -> [SKIP][88] ([Intel XE#373]) +1 other test skip
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-435/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@kms_content_protection@dp-mst-type-0:
- shard-dg2-set2: [SKIP][89] ([Intel XE#1201] / [Intel XE#307]) -> [SKIP][90] ([Intel XE#307])
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-464/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@kms_cursor_crc@cursor-random-512x170:
- shard-dg2-set2: [SKIP][91] ([Intel XE#308]) -> [SKIP][92] ([Intel XE#1201] / [Intel XE#308])
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-436/igt@[email protected]
* igt@kms_cursor_crc@cursor-rapid-movement-512x170:
- shard-dg2-set2: [SKIP][93] ([Intel XE#1201] / [Intel XE#308]) -> [SKIP][94] ([Intel XE#308])
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-433/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@kms_cursor_crc@cursor-rapid-movement-max-size:
- shard-dg2-set2: [SKIP][95] ([Intel XE#455]) -> [SKIP][96] ([Intel XE#1201] / [Intel XE#455]) +10 other tests skip
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-464/igt@[email protected]
* igt@kms_cursor_crc@cursor-sliding-256x256@pipe-d-hdmi-a-6:
- shard-dg2-set2: [DMESG-WARN][97] ([Intel XE#1214] / [Intel XE#282]) -> [DMESG-WARN][98] ([Intel XE#282]) +4 other tests dmesg-warn
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-463/igt@kms_cursor_crc@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@kms_cursor_crc@[email protected]
* igt@kms_cursor_legacy@2x-cursor-vs-flip-legacy:
- shard-dg2-set2: [DMESG-WARN][99] ([Intel XE#1214] / [Intel XE#282]) -> [DMESG-WARN][100] ([Intel XE#1214] / [Intel XE#282] / [Intel XE#910]) +1 other test dmesg-warn
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-466/igt@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-464/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- shard-dg2-set2: [SKIP][101] ([Intel XE#1201] / [Intel XE#323]) -> [SKIP][102] ([Intel XE#323])
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-464/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipa-varying-size:
- shard-dg2-set2: [DMESG-WARN][103] ([Intel XE#282]) -> [DMESG-WARN][104] ([Intel XE#1214] / [Intel XE#282]) +4 other tests dmesg-warn
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-436/igt@[email protected]
* igt@kms_cursor_legacy@forked-move@pipe-a:
- shard-dg2-set2: [DMESG-WARN][105] ([Intel XE#282]) -> [INCOMPLETE][106] ([Intel XE#1195]) +1 other test incomplete
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@kms_cursor_legacy@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-436/igt@kms_cursor_legacy@[email protected]
* igt@kms_feature_discovery@display-3x:
- shard-dg2-set2: [SKIP][107] ([Intel XE#1201] / [Intel XE#703]) -> [SKIP][108] ([Intel XE#703])
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-436/igt@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@kms_flip@flip-vs-suspend:
- shard-dg2-set2: [INCOMPLETE][109] ([Intel XE#1195]) -> [DMESG-WARN][110] ([Intel XE#1162] / [Intel XE#1214])
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-464/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-436/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling:
- shard-dg2-set2: [SKIP][111] ([Intel XE#1201] / [Intel XE#455]) -> [SKIP][112] ([Intel XE#455]) +6 other tests skip
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-434/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling.html
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling.html
* igt@kms_frontbuffer_tracking@fbcdrrs-rgb101010-draw-mmap-wc:
- shard-dg2-set2: [SKIP][113] ([Intel XE#651]) -> [SKIP][114] ([Intel XE#1201] / [Intel XE#651]) +8 other tests skip
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-463/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrs-shrfb-scaledprimary:
- shard-dg2-set2: [SKIP][115] ([Intel XE#1201] / [Intel XE#651]) -> [SKIP][116] ([Intel XE#651]) +13 other tests skip
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-466/igt@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-pri-shrfb-draw-render:
- shard-dg2-set2: [SKIP][117] ([Intel XE#653]) -> [SKIP][118] ([Intel XE#1201] / [Intel XE#653]) +5 other tests skip
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-pri-shrfb-draw-render.html
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-433/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-pri-shrfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcpsr-tiling-y:
- shard-dg2-set2: [SKIP][119] ([Intel XE#658]) -> [SKIP][120] ([Intel XE#1201] / [Intel XE#658])
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-435/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-shrfb-pgflip-blt:
- shard-dg2-set2: [SKIP][121] ([Intel XE#1201] / [Intel XE#653]) -> [SKIP][122] ([Intel XE#653]) +6 other tests skip
[121]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-435/igt@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@kms_getfb@getfb-reject-ccs:
- shard-dg2-set2: [SKIP][123] ([Intel XE#1201] / [Intel XE#605]) -> [SKIP][124] ([Intel XE#605])
[123]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-436/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@kms_hdmi_inject@inject-audio:
- shard-dg2-set2: [SKIP][125] ([Intel XE#1201] / [Intel XE#417]) -> [SKIP][126] ([Intel XE#417])
[125]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-435/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@kms_plane_scaling@plane-downscale-factor-0-25-with-modifiers:
- shard-dg2-set2: [SKIP][127] ([Intel XE#1201] / [Intel XE#455] / [Intel XE#498]) -> [SKIP][128] ([Intel XE#455] / [Intel XE#498]) +1 other test skip
[127]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-433/igt@kms_plane_scaling@plane-downscale-factor-0-25-with-modifiers.html
[128]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@kms_plane_scaling@plane-downscale-factor-0-25-with-modifiers.html
* igt@kms_plane_scaling@plane-downscale-factor-0-25-with-modifiers@pipe-a-hdmi-a-6:
- shard-dg2-set2: [SKIP][129] ([Intel XE#1201] / [Intel XE#498]) -> [SKIP][130] ([Intel XE#498]) +2 other tests skip
[129]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-433/igt@kms_plane_scaling@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@kms_plane_scaling@[email protected]
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20@pipe-a-hdmi-a-6:
- shard-dg2-set2: [SKIP][131] ([Intel XE#305]) -> [SKIP][132] ([Intel XE#1201] / [Intel XE#305]) +2 other tests skip
[131]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@kms_plane_scaling@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-434/igt@kms_plane_scaling@[email protected]
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20@pipe-d-hdmi-a-6:
- shard-dg2-set2: [SKIP][133] ([Intel XE#305] / [Intel XE#455]) -> [SKIP][134] ([Intel XE#1201] / [Intel XE#305] / [Intel XE#455]) +1 other test skip
[133]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@kms_plane_scaling@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-434/igt@kms_plane_scaling@[email protected]
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25:
- shard-dg2-set2: [SKIP][135] ([Intel XE#1201] / [Intel XE#305] / [Intel XE#455]) -> [SKIP][136] ([Intel XE#305] / [Intel XE#455]) +1 other test skip
[135]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-434/igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25.html
[136]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25.html
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25@pipe-c-hdmi-a-6:
- shard-dg2-set2: [SKIP][137] ([Intel XE#1201] / [Intel XE#305]) -> [SKIP][138] ([Intel XE#305]) +2 other tests skip
[137]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-434/igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25@pipe-c-hdmi-a-6.html
[138]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25@pipe-c-hdmi-a-6.html
* igt@kms_pm_dc@dc6-psr:
- shard-dg2-set2: [SKIP][139] ([Intel XE#1129] / [Intel XE#1201]) -> [SKIP][140] ([Intel XE#1129])
[139]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-434/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@kms_pm_dc@deep-pkgc:
- shard-dg2-set2: [SKIP][141] ([Intel XE#1201]) -> [SKIP][142] ([Intel XE#1201] / [Intel XE#908])
[141]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-433/igt@[email protected]
[142]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-436/igt@[email protected]
* igt@kms_psr2_sf@fbc-cursor-plane-move-continuous-exceed-sf:
- shard-dg2-set2: [SKIP][143] ([Intel XE#1201] / [Intel XE#929]) -> [SKIP][144] ([Intel XE#929]) +7 other tests skip
[143]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-433/igt@[email protected]
[144]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@kms_psr2_su@frontbuffer-xrgb8888:
- shard-dg2-set2: [SKIP][145] ([Intel XE#1122] / [Intel XE#1201]) -> [SKIP][146] ([Intel XE#1122])
[145]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-434/igt@[email protected]
[146]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@kms_psr@fbc-psr2-primary-render:
- shard-dg2-set2: [SKIP][147] ([Intel XE#929]) -> [SKIP][148] ([Intel XE#1201] / [Intel XE#929]) +4 other tests skip
[147]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@[email protected]
[148]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-436/igt@[email protected]
* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-180:
- shard-dg2-set2: [SKIP][149] ([Intel XE#1127]) -> [SKIP][150] ([Intel XE#1127] / [Intel XE#1201])
[149]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@[email protected]
[150]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-434/igt@[email protected]
* igt@kms_rotation_crc@sprite-rotation-90:
- shard-dg2-set2: [SKIP][151] ([Intel XE#1201] / [Intel XE#327]) -> [SKIP][152] ([Intel XE#327])
[151]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-434/igt@[email protected]
[152]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@kms_rotation_crc@sprite-rotation-90-pos-100-0:
- shard-dg2-set2: [SKIP][153] ([Intel XE#327]) -> [SKIP][154] ([Intel XE#1201] / [Intel XE#327])
[153]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@[email protected]
[154]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-434/igt@[email protected]
* igt@kms_writeback@writeback-invalid-parameters:
- shard-dg2-set2: [SKIP][155] ([Intel XE#1201] / [Intel XE#756]) -> [SKIP][156] ([Intel XE#756])
[155]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-436/igt@[email protected]
[156]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@xe_copy_basic@mem-set-linear-0xfd:
- shard-dg2-set2: [SKIP][157] ([Intel XE#1126] / [Intel XE#1201]) -> [SKIP][158] ([Intel XE#1126])
[157]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-464/igt@[email protected]
[158]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@xe_evict@evict-beng-cm-threads-large:
- shard-dg2-set2: [INCOMPLETE][159] ([Intel XE#1195] / [Intel XE#1473] / [Intel XE#392]) -> [INCOMPLETE][160] ([Intel XE#1195] / [Intel XE#1473])
[159]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-433/igt@[email protected]
[160]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-433/igt@[email protected]
* igt@xe_evict@evict-mixed-many-threads-large:
- shard-dg2-set2: [INCOMPLETE][161] ([Intel XE#1195] / [Intel XE#1473] / [Intel XE#392]) -> [TIMEOUT][162] ([Intel XE#1041] / [Intel XE#1473] / [Intel XE#392])
[161]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-433/igt@[email protected]
[162]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@xe_exec_fault_mode@once-userptr-invalidate-imm:
- shard-dg2-set2: [SKIP][163] ([Intel XE#288]) -> [SKIP][164] ([Intel XE#1201] / [Intel XE#288]) +6 other tests skip
[163]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@[email protected]
[164]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-434/igt@[email protected]
* igt@xe_exec_fault_mode@twice-userptr-invalidate-race:
- shard-dg2-set2: [SKIP][165] ([Intel XE#1201] / [Intel XE#288]) -> [SKIP][166] ([Intel XE#288]) +9 other tests skip
[165]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-466/igt@[email protected]
[166]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@xe_pm@s3-basic-exec:
- shard-dg2-set2: [INCOMPLETE][167] ([Intel XE#1044] / [Intel XE#1195] / [Intel XE#1358] / [Intel XE#569]) -> [DMESG-WARN][168] ([Intel XE#1162] / [Intel XE#1214])
[167]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-434/igt@[email protected]
[168]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-434/igt@[email protected]
* igt@xe_pm@s4-d3cold-basic-exec:
- shard-dg2-set2: [SKIP][169] ([Intel XE#1201] / [Intel XE#366]) -> [SKIP][170] ([Intel XE#366])
[169]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-464/igt@[email protected]
[170]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@xe_query@multigpu-query-gt-list:
- shard-dg2-set2: [SKIP][171] ([Intel XE#944]) -> [SKIP][172] ([Intel XE#1201] / [Intel XE#944])
[171]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@[email protected]
[172]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-435/igt@[email protected]
* igt@xe_query@multigpu-query-invalid-size:
- shard-dg2-set2: [SKIP][173] ([Intel XE#1201] / [Intel XE#944]) -> [SKIP][174] ([Intel XE#944]) +1 other test skip
[173]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-435/igt@[email protected]
[174]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-432/igt@[email protected]
* igt@xe_wedged@wedged-at-any-timeout:
- shard-dg2-set2: [SKIP][175] ([Intel XE#1130]) -> [DMESG-WARN][176] ([Intel XE#1214] / [Intel XE#1760])
[175]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7877/shard-dg2-432/igt@[email protected]
[176]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/shard-dg2-433/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[Intel XE#1041]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1041
[Intel XE#1044]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1044
[Intel XE#1068]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1068
[Intel XE#1081]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1081
[Intel XE#1091]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1091
[Intel XE#1122]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1122
[Intel XE#1123]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1123
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1126]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1126
[Intel XE#1127]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1127
[Intel XE#1128]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1128
[Intel XE#1129]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1129
[Intel XE#1130]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1130
[Intel XE#1152]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1152
[Intel XE#1162]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1162
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1192]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1192
[Intel XE#1195]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1195
[Intel XE#1201]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1201
[Intel XE#1211]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1211
[Intel XE#1214]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1214
[Intel XE#1330]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1330
[Intel XE#1358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1358
[Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[Intel XE#1397]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1397
[Intel XE#1399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1399
[Intel XE#1401]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1401
[Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
[Intel XE#1407]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1407
[Intel XE#1414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1414
[Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
[Intel XE#1424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1424
[Intel XE#1428]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1428
[Intel XE#1435]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1435
[Intel XE#1437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1437
[Intel XE#1439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1439
[Intel XE#1442]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1442
[Intel XE#1446]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1446
[Intel XE#1462]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1462
[Intel XE#1469]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1469
[Intel XE#1473]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1473
[Intel XE#1504]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1504
[Intel XE#1600]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1600
[Intel XE#1607]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1607
[Intel XE#1608]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1608
[Intel XE#1638]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1638
[Intel XE#1659]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1659
[Intel XE#1745]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1745
[Intel XE#1760]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1760
[Intel XE#1761]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1761
[Intel XE#1794]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1794
[Intel XE#1830]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1830
[Intel XE#1901]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1901
[Intel XE#1924]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1924
[Intel XE#1960]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1960
[Intel XE#282]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/282
[Intel XE#288]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/288
[Intel XE#305]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/305
[Intel XE#306]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/306
[Intel XE#307]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/307
[Intel XE#308]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/308
[Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
[Intel XE#316]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/316
[Intel XE#323]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/323
[Intel XE#327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/327
[Intel XE#330]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/330
[Intel XE#346]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/346
[Intel XE#362]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/362
[Intel XE#366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/366
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/392
[Intel XE#417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/417
[Intel XE#455]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/455
[Intel XE#498]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/498
[Intel XE#569]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/569
[Intel XE#584]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/584
[Intel XE#599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/599
[Intel XE#605]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/605
[Intel XE#610]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/610
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#653]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/653
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#658]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/658
[Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
[Intel XE#703]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/703
[Intel XE#756]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/756
[Intel XE#787]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/787
[Intel XE#899]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/899
[Intel XE#908]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/908
[Intel XE#910]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/910
[Intel XE#929]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/929
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* IGT: IGT_7877 -> IGTPW_11220
* Linux: xe-1391-692c2b76453385a04b1eef40f3cdbc0097074f62 -> xe-1399-596cf447db94909c4788fd612876520531e439b0
IGTPW_11220: 11220
IGT_7877: 23b8b8a0168e1b5141e29346be1f83fdbed31037 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-1391-692c2b76453385a04b1eef40f3cdbc0097074f62: 692c2b76453385a04b1eef40f3cdbc0097074f62 xe-1399-596cf447db94909c4788fd612876520531e439b0: 596cf447db94909c4788fd612876520531e439b0
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_11220/index.html
Patchwork
CI✗ GitLab.Pipeline: warning for tools/lsgpu: Add switch to display gpu pci devices (rev2)
In reply to Zbigniew Kempczyński== Series Details ==
== Series Details ==
Series: tools/lsgpu: Add switch to display gpu pci devices (rev2)
URL : https://patchwork.freedesktop.org/series/134438/
State : warning
== Summary ==
Pipeline status: FAILED.
see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1193413 for the overview.
test:ninja-test has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/59490652):
423/427 assembler test/rnde-intsrc OK 0.02 s 424/427 assembler test/rndz OK 0.01 s 425/427 assembler test/lzd OK 0.01 s 426/427 assembler test/not OK 0.02 s 427/427 assembler test/immediate OK 0.01 s
Ok: 422
Expected Fail: 4 Fail: 1 Unexpected Pass: 0 Skipped: 0 Timeout: 0
Full log written to /builds/gfx-ci/igt-ci-tags/build/meson-logs/testlog.txt section_end:1717563682:step_script section_start:1717563682:cleanup_file_variables
Cleaning up project directory and file based variables section_end:1717563682:cleanup_file_variables
ERROR: Job failed: exit code 1
== Logs ==
For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1193413
Hi Zbigniew,
Quoted 5 lines · Zbigniew Kempczyński
Device scanning in IGT is based on iterating over udev drm devices. This limits to display only to devices which have driver loaded.
To remove this limitation add dedicated udev pci scanning in lsgpu which displays all gpu devices (pci class
0x30000).
This or class 0x38000. 0x30000 catches aspeed display card and others but I do not see ATS-M cards, after loading Xe driver:
sudo build/tools/lsgpu
card0 Intel Ats_m (Gen12) drm:/dev/dri/card0
└─renderD128 drm:/dev/dri/renderD128
sudo build/tools/lsgpu -pn |grep -i class
ID_PCI_CLASS_FROM_DATABASE : Display controllerID_PCI_SUBCLASS_FROM_DATABASE : Display controllerPCI_CLASS : 38000
class : 0x038000
Quoted 24 lines
Signed-off-by Zbigniew Kempczyński <[email protected]>Cc Jani Nikula <[email protected]>---
v2: Remove unnecessary variable
Add pci-id and use codename only when is pretty--- tools/lsgpu.c | 89 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 87 insertions(+), 2 deletions(-)tools/lsgpu.c +1
-0@@ -30,6 +30,7 @@#include <string.h> #include <signal.h> #include <glib.h> +#include <libudev.h> /** * SECTION:lsgpu
tools/lsgpu.c enum { · line 83
Quoted 7 lines
tools/lsgpu.c +2
-1@@ -77,12 +78,14 @@ enum {OPT_LIST_VENDORS ='v' ,OPT_LIST_FILTERS ='l' ,OPT_DEVICE ='d' , - OPT_HELP = 'h' +OPT_HELP ='h' , + OPT_PCISCAN = 'P', };
I do not see description of 'P' option after --help?
Quoted 24 lines
tools/lsgpu.c +13
-0static bool g_show_vendors;static bool g_list_filters;static bool g_help; +static bool g_pciscan;static char *igt_device; static const char *usage_str =@@ -158,6 +161,82 @@ static char *get_device_from_rc(void)return rc_device; } +static int pciscan (void ) +{ +struct udev *udev; +struct udev_enumerate *enumerate; +struct udev_list_entry *devices, *dev_list_entry; +struct igt_device_card card; +char pcistr[10 ]; +int ret; + + udev =udev_new (); +igt_assert (udev); +
tools/lsgpu.c static char *get_device_from_rc(void) · line 185
Quoted 10 lines
tools/lsgpu.c +10
-0+ enumerate =udev_enumerate_new (udev); +igt_assert (enumerate); + +printf ("Scanning pci subsystem\n" ); +printf ("----------------------\n" ); + ret =udev_enumerate_add_match_subsystem (enumerate,"pci" ); +igt_assert (!ret); + + ret =udev_enumerate_add_match_property (enumerate,"PCI_CLASS" ,"30000" ); +igt_assert (!ret);
I am not sure if assert is good here, why not gracefull return? Print info and return.
tools/lsgpu.c static char *get_device_from_rc(void) · line 188
Quoted 3 lines
tools/lsgpu.c +3
-0+ + ret =udev_enumerate_scan_devices (enumerate); +igt_assert (!ret);
Same here.
tools/lsgpu.c static char *get_device_from_rc(void) · line 192
Quoted 4 lines
tools/lsgpu.c +4
-0+ + devices =udev_enumerate_get_list_entry (enumerate); +if (!devices) { +printf ("No pci devices with class 0x30000 found\n" );
Why not make class a param?
Regards,
Kamil
Quoted 82 lines
tools/lsgpu.c +54
-1+return 0 ; + } + + udev_list_entry_foreach(dev_list_entry, devices) { +const char *path; +struct udev_device *udev_dev; +struct udev_list_entry *entry; +char *codename; + + path =udev_list_entry_get_name (dev_list_entry); + udev_dev =udev_device_new_from_syspath (udev, path); +printf ("[%s]\n" , path); + +strcpy (card.pci_slot_name,"-" ); + entry =udev_device_get_properties_list_entry (udev_dev); +while (entry) { +const char *name =udev_list_entry_get_name (entry); +const char *value =udev_list_entry_get_value (entry); + + entry =udev_list_entry_get_next (entry); +if (!strcmp (name,"ID_VENDOR_FROM_DATABASE" )) +printf (" vendor [db]: %s\n" , value); +else if (!strcmp (name,"ID_MODEL_FROM_DATABASE" )) +printf (" model [db]: %s\n" , value); +else if (!strcmp (name,"DRIVER" )) +printf (" driver : %s\n" , value); +else if (!strcmp (name,"PCI_ID" )) +igt_assert_eq (sscanf (value,"%hx:%hx" , + &card.pci_vendor, &card.pci_device),2 ); + } +snprintf (pcistr,sizeof (pcistr),"%04x:%04x" , + card.pci_vendor, card.pci_device); +printf (" pci id : %s\n" , pcistr); + codename =igt_device_get_pretty_name (&card, false); +if (strcmp (pcistr, codename)) +printf (" codename : %s\n" , codename); +free (codename); + +udev_device_unref (udev_dev); + } + +udev_enumerate_unref (enumerate); +udev_unref (udev); + +return 0 ; +} +int main (int argc,char *argv[]) {static struct option long_options[] = {@@ -180,7 +259,7 @@ int main(int argc, char *argv[]) .type = IGT_PRINT_USER, }; -while ((c =getopt_long (argc, argv,"ncspvld:h" , +while ((c =getopt_long (argc, argv,"ncspvld:hP" , long_options, &index)) !=-1 ) {switch (c) {@@ -208,6 +287,9 @@ int main(int argc, char *argv[])case OPT_HELP : g_help = true;break ; +case OPT_PCISCAN : + g_pciscan = true; +break ;case 0 : fmt.option =IGT_PRINT_DRM ;break ;@@ -220,6 +302,9 @@ int main(int argc, char *argv[]) } } +if (g_pciscan) +return pciscan (); +if (g_help) {printf ("%s\n" , usage_str);exit (0 );Signature · 1 line
2.34.1
Quoted 43 lines · Kamil Konieczny
Hi Zbigniew,
Quoted 5 lines · Zbigniew Kempczyński
Device scanning in IGT is based on iterating over udev drm devices. This limits to display only to devices which have driver loaded.
To remove this limitation add dedicated udev pci scanning in lsgpu which displays all gpu devices (pci class
0x30000).This or class
0x38000.0x30000catches aspeed display card and others but I do not see ATS-M cards, after loading Xe driver:sudo build/tools/lsgpu
card0 IntelAts_m(Gen12) drm:/dev/dri/card0
└─renderD128 drm:/dev/dri/renderD128sudo build/tools/lsgpu -pn |grep -i class
ID_PCI_CLASS_FROM_DATABASE: Display controllerID_PCI_SUBCLASS_FROM_DATABASE: Display controllerPCI_CLASS: 38000
class :0x038000Quoted 21 lines
Signed-off-by Zbigniew Kempczyński <[email protected]>Cc Jani Nikula <[email protected]>---
v2: Remove unnecessary variable
Add pci-id and use codename only when is pretty--- tools/lsgpu.c | 89 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 87 insertions(+), 2 deletions(-)tools/lsgpu.c +1
-0@@ -30,6 +30,7 @@#include <string.h> #include <signal.h> #include <glib.h> +#include <libudev.h>
Quoted 12 lines
tools/lsgpu.c enum { · line 83
Quoted 10 lines
tools/lsgpu.c +2
-1/** * SECTION:lsgpu @@ -77,12 +78,14 @@ enum {OPT_LIST_VENDORS ='v' ,OPT_LIST_FILTERS ='l' ,OPT_DEVICE ='d' , - OPT_HELP = 'h' +OPT_HELP ='h' , + OPT_PCISCAN = 'P', };I do not see description of 'P' option after --help?
Ok, I will add it.
Quoted 30 lines
Quoted 30 lines
tools/lsgpu.c +18
-0static bool g_show_vendors;static bool g_list_filters;static bool g_help; +static bool g_pciscan;static char *igt_device; static const char *usage_str =@@ -158,6 +161,82 @@ static char *get_device_from_rc(void)return rc_device; } +static int pciscan (void ) +{ +struct udev *udev; +struct udev_enumerate *enumerate; +struct udev_list_entry *devices, *dev_list_entry; +struct igt_device_card card; +char pcistr[10 ]; +int ret; + + udev =udev_new (); +igt_assert (udev); + + enumerate =udev_enumerate_new (udev); +igt_assert (enumerate); + +printf ("Scanning pci subsystem\n" ); +printf ("----------------------\n" );
Quoted 8 lines
tools/lsgpu.c static char *get_device_from_rc(void) · line 185
Quoted 5 lines
tools/lsgpu.c +5
-0+ ret =udev_enumerate_add_match_subsystem (enumerate,"pci" ); +igt_assert (!ret); + + ret =udev_enumerate_add_match_property (enumerate,"PCI_CLASS" ,"30000" ); +igt_assert (!ret);I am not sure if assert is good here, why not gracefull return? Print info and return.
Assert is correct here. That's expected value here on successful call.
Quoted 7 lines
tools/lsgpu.c static char *get_device_from_rc(void) · line 188
Quoted 4 lines
tools/lsgpu.c +3
-0+ + ret =udev_enumerate_scan_devices (enumerate); +igt_assert (!ret);Same here.
Quoted 6 lines
tools/lsgpu.c static char *get_device_from_rc(void) · line 192
Quoted 4 lines
tools/lsgpu.c +4
-0+ + devices =udev_enumerate_get_list_entry (enumerate); +if (!devices) { +printf ("No pci devices with class 0x30000 found\n" );Why not make class a param?
According to pci spec we're interested in 0x30000 and 0x38000 at the moment. I think most users even are not aware of those pci classes, so I see no reason to add some parameter. If any other class will be used in the future we can simply add another property match call.
--
Zbigniew
Quoted 86 lines
Regards,
KamilQuoted 82 lines
tools/lsgpu.c +54
-1+return 0 ; + } + + udev_list_entry_foreach(dev_list_entry, devices) { +const char *path; +struct udev_device *udev_dev; +struct udev_list_entry *entry; +char *codename; + + path =udev_list_entry_get_name (dev_list_entry); + udev_dev =udev_device_new_from_syspath (udev, path); +printf ("[%s]\n" , path); + +strcpy (card.pci_slot_name,"-" ); + entry =udev_device_get_properties_list_entry (udev_dev); +while (entry) { +const char *name =udev_list_entry_get_name (entry); +const char *value =udev_list_entry_get_value (entry); + + entry =udev_list_entry_get_next (entry); +if (!strcmp (name,"ID_VENDOR_FROM_DATABASE" )) +printf (" vendor [db]: %s\n" , value); +else if (!strcmp (name,"ID_MODEL_FROM_DATABASE" )) +printf (" model [db]: %s\n" , value); +else if (!strcmp (name,"DRIVER" )) +printf (" driver : %s\n" , value); +else if (!strcmp (name,"PCI_ID" )) +igt_assert_eq (sscanf (value,"%hx:%hx" , + &card.pci_vendor, &card.pci_device),2 ); + } +snprintf (pcistr,sizeof (pcistr),"%04x:%04x" , + card.pci_vendor, card.pci_device); +printf (" pci id : %s\n" , pcistr); + codename =igt_device_get_pretty_name (&card, false); +if (strcmp (pcistr, codename)) +printf (" codename : %s\n" , codename); +free (codename); + +udev_device_unref (udev_dev); + } + +udev_enumerate_unref (enumerate); +udev_unref (udev); + +return 0 ; +} +int main (int argc,char *argv[]) {static struct option long_options[] = {@@ -180,7 +259,7 @@ int main(int argc, char *argv[]) .type = IGT_PRINT_USER, }; -while ((c =getopt_long (argc, argv,"ncspvld:h" , +while ((c =getopt_long (argc, argv,"ncspvld:hP" , long_options, &index)) !=-1 ) {switch (c) {@@ -208,6 +287,9 @@ int main(int argc, char *argv[])case OPT_HELP : g_help = true;break ; +case OPT_PCISCAN : + g_pciscan = true; +break ;case 0 : fmt.option =IGT_PRINT_DRM ;break ;@@ -220,6 +302,9 @@ int main(int argc, char *argv[]) } } +if (g_pciscan) +return pciscan (); +if (g_help) {printf ("%s\n" , usage_str);exit (0 );Signature · 1 line
2.34.1