[PATCH i-g-t 0/3] lib/kms: make for_each_crtc_with_single_output() independent of pipes

Jani Nikula
2026-03-23T12:06:39Z

A slightly tricky series to make for_each_crtc_with_single_output()
independent of pipes, while retaining pipe order iteration on Intel
devices.

Jani Nikula (3):
lib/kms: don't special case igt_get_single_output_for_crtc()
implementation
lib/kms: refactor for_each_crtc_with_single_output() to avoid
igt_crtc_for_pipe()
lib/kms: use CRTC index for __igt_output_crtc_populate()

lib/igt_kms.c | 40 +++++++++++++++++++++++++++++++---------
lib/igt_kms.h | 23 ++++++++++++++---------
2 files changed, 45 insertions(+), 18 deletions(-)

--
2.47.3