Re: [PATCH i-g-t 00/17] tests/kms: Use igt_crtc_t instead of enum pipe

Jani Nikula
2026-02-12T09:42:47Z

On Wed, 11 Feb 2026, Ville Syrjala <ville.syrjala@linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> Convert a bunch of tests to use 'igt_crtc_t' instead of
> 'enum pipe'.
>
> Afterwards there are still quite a few unconverted tests
> left that will need stringer cocci magic or manual conversion...

Read through it all, it's mostly straightforward and mechanic, but I'm
also trusting the compiler here quite a bit.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>

I also realize I think there now remains igt_require_pipe(crtc->pipe)
checks on crtc that originate from for_each_crtc() which will always be
valid. More future cleanup, but there's no functional impact.

BR,
Jani.

--
Jani Nikula, Intel