Hi Janusz, On Wed Jan 21, 2026 at 12:42 PM CET, Janusz Krzysztofik wrote: > Users of Intel discrete graphics adapters are confused with fake > information on PCIe link bandwidth (speed and size) of their GPU devices > reported by sysfs and userspace tools, including our lsgpu utility. In > order for the lsgpu to show correct link bandwidth information, we need to > identify an upstream port of a PCIe bridge that sits on the GPU card and > get that information from that port. > > Since the tool uses our udev based igt_device_scan library for identifying > GPU devices and printing their properties and attributes, modifications > that we need apply to that library. > > Refactor the library so a part of it can be reused for processing the > bridge port. > > There are no functional changes introduced with this patch. > > Link: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10753 > Signed-off-by: Janusz Krzysztofik <[email protected]> > --- Straightforward refactor. Looks good! Reviewed-by: Sebastian Brzezinka <[email protected]>
-- Best regards, Sebastian
