Re: [PATCH i-g-t v7 03/48] lib/igt_kms: Add function to list connected connectors

Kamil Konieczny
2026-02-26T08:36:06Z

Hi Kory,
On 2026-02-23 at 14:41:50 +0100, Kory Maincent wrote:
> On Mon, 23 Feb 2026 13:09:10 +0100
> Louis Chauvet <louis.chauvet@bootlin.com> wrote:
>
> > Introduce the igt_get_connected_connectors() function, which returns a
> > list of connector IDs that are currently connected according to DRM.
> >
> > This function includes a timeout mechanism because connectors can be
> > unplugged at any time. Also, especially with MST, the connector can be
> > listed by drmModeGetResources() but not yet accessible with
> > drmModeGetConnector().
>
> There are memory leaks but it seems accepted by design in IGT. Then:

Please point them out, lets try to remove them if possible,

Regards,
Kamil

> Reviewed-by: Kory Maincent <kory.maincent@bootlin.com>
>
> Thank you!
> --
> Köry Maincent, Bootlin
> Embedded Linux and kernel engineering
> https://bootlin.com