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

Kory Maincent
2026-02-23T13:41:56Z

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:
Reviewed-by: Kory Maincent <kory.maincent@bootlin.com>

Thank you!
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering