Skip to content

tools/intel_gpu_top: Fix Device selection issues

Ayaz A Siddiqui igt-dev 1 version Applied

Status from this message: Merged, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2lib/igt_device_scan:Add function to get pci subsystem of requested cardlib/igt_device_scan.c lib/igt_device_scan.h tools/intel_gpu_top.c+44 -151 reply
2/2lib/igt_device_scan: Select intel as default vendor for intel_gpu_toplib/igt_device_scan.c+20 -201 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchZbigniew Kempczyński
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [igt-dev] [PATCH i-g-t 0/2] tools/intel_gpu_top: Fix Device selection issues

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(-)
Signature · 6 lines
2.26.2

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev