Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 0/2] tools/intel_gpu_top: Fix Device selection issues
@ 2020-10-23 17:51 Ayaz A Siddiqui
  2020-10-23 17:51 ` [igt-dev] [PATCH i-g-t 1/2] lib/igt_device_scan:Add function to get pci subsystem of requested card Ayaz A Siddiqui
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Ayaz A Siddiqui @ 2020-10-23 17:51 UTC (permalink / raw)
  To: igt-dev; +Cc: Ayaz A Siddiqui

There was two issues identified during intel_gpu_top testing.
1. In case of multiple discrete GPU platform,  if first card is not
intel card then execution  failed with error. To solve this issue a check for
intel device (8086) is added during device selection.
2. Intel_gpu_top was failing to execute if device selection filter was other than
“pci”. intel_gpu_top requires card information and PCI_SLOT_NAME for dGPU.
Only pci subsystem contains both information.
In case of user filter is other than pci subsystem then we need card
information of associated pci subsystem which is stored as parent of
requested card if available.

Ayaz A Siddiqui (2):
  lib/igt_device_scan:Add function to get pci subsystem of requested
    card
  lib/igt_device_scan: Select intel as default vendor for intel_gpu_top

 lib/igt_device_scan.c | 95 +++++++++++++++++++++++++++----------------
 lib/igt_device_scan.h |  2 +
 tools/intel_gpu_top.c |  2 +-
 3 files changed, 64 insertions(+), 35 deletions(-)

-- 
2.26.2

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-10-26  8:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-23 17:51 [igt-dev] [PATCH i-g-t 0/2] tools/intel_gpu_top: Fix Device selection issues Ayaz A Siddiqui
2020-10-23 17:51 ` [igt-dev] [PATCH i-g-t 1/2] lib/igt_device_scan:Add function to get pci subsystem of requested card Ayaz A Siddiqui
2020-10-26  4:43   ` Zbigniew Kempczyński
2020-10-23 17:51 ` [igt-dev] [PATCH i-g-t 2/2] lib/igt_device_scan: Select intel as default vendor for intel_gpu_top Ayaz A Siddiqui
2020-10-26  4:43   ` Zbigniew Kempczyński
2020-10-23 18:40 ` [igt-dev] ✓ Fi.CI.BAT: success for tools/intel_gpu_top: Fix Device selection issues Patchwork
2020-10-23 22:14 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2020-10-24  2:03   ` Siddiqui, Ayaz A
2020-10-26  8:44 ` [igt-dev] [PATCH i-g-t 0/2] " Petri Latvala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox