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

Petri Latvala petri.latvala at intel.com
Mon Oct 26 08:44:47 UTC 2020


On Fri, Oct 23, 2020 at 11:21:56PM +0530, Ayaz A Siddiqui wrote:
> 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(-)
> 


Merged, thanks.

-- 
Petri Latvala


More information about the igt-dev mailing list