[PATCH i-g-t v4] tools/mk_detect_intel_gpu: add a tool to detect Intel GPUs from their PCI IDs
Jani Nikula
jani.nikula at intel.com
Tue Jun 4 08:05:47 UTC 2024
On Mon, 03 Jun 2024, Zbigniew Kempczyński <zbigniew.kempczynski at intel.com> wrote:
> Currently igt_device_scan.c is limited to devices which have drm driver
> loaded (that was danvet requirement of udev scanning of drm devices, not
> pci). But if I'm not wrong it would be relatively simple to add
> scan_pci_devices() in which we would iterate over udev pci devices and
> filter out 300 class then add some switch to display it lsgpu. We would
> at least keep this simply in igt, without any additional scripting/tools
> needed.
Yes.
--
Jani Nikula, Intel
More information about the igt-dev
mailing list