Re: [PATCH i-g-t 0/5] igt: reduce igt_crtc_for_pipe() usage

Ville Syrjälä
2026-03-06T14:07:23Z

On Fri, Mar 06, 2026 at 03:23:53PM +0200, Jani Nikula wrote:
> Add igt_next_crtc() and igt_random_crtc() to let us remove a few more
> igt_crtc_for_pipe() calls.
>
> Jani Nikula (5):
> lib/kms: add igt_next_crtc()
> tests/intel/gem_pxp: use igt_next_crtc()
> tests/intel/xe_pxp: use igt_next_crtc()
> tests/kms_multipipe_modeset: use igt_next_crtc()
> lib/kms: add igt_random_crtc() and use it in gem_eio

For the series
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

>
> lib/igt_kms.c | 39 +++++++++++++++++++++++++++++++++++
> lib/igt_kms.h | 2 ++
> tests/intel/gem_eio.c | 7 +------
> tests/intel/gem_pxp.c | 7 +++----
> tests/intel/xe_pxp.c | 15 ++++++--------
> tests/kms_multipipe_modeset.c | 32 +++++++++++++---------------
> 6 files changed, 65 insertions(+), 37 deletions(-)
>
> --
> 2.47.3

--
Ville Syrjälä
Intel