Hi Janusz,

On 2026-02-05 at 15:51:51 +0100, 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.
> 
> v4: Also change RETRIES_GET_PARENT to RETRIES_GET_DEVICE for consistency
>     with renamed variables (Krzysztof).
> 
> Link: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10753
> Reviewed-by: Sebastian Brzezinka <[email protected]>
> Cc: Krzysztof Karas <[email protected]>
> Signed-off-by: Janusz Krzysztofik <[email protected]>
> ---
Reviewed-by: Krzysztof Karas <[email protected]>

-- 
Best Regards,
Krzysztof

Reply via email to