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

Ville Syrjala
2026-02-11T16:34:11Z

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...

Ville Syrjälä (17):
tests/kms_plane_alpha_blend: Use igt_crtc_t instead of enum pipe
tests/kms: Remove unused 'pipe' function parameters
tests/kms: Remove const qualifier from 'pipe' function parameters
tests/intel/kms_busy: Use 'enum pipe' instead of 'int'
tests/kms_atomic_interruptible: s/crtc/drm_crtc/
tests/intel/kms_psr2_su: Use igt_crtc_t instead of enum pipe
tests/intel/kms_dsc*: Use igt_crtc_t instead of enum pipe
tests/kms_cursor_legacy: Use igt_crtc_t instead of enum pipe
tests/kms_color*: Use igt_crtc_t instead of enum pipe
tests/kms_atomic_transition: Use igt_crtc_t instead of enum pipe
tests/kms_plane: Use igt_crtc_t instead of enum pipe
tests/intel/kms_pipe_b_c_ivb: Use igt_crtc_t instead of enum pipe
tests/kms_vrr: Use igt_crtc_t instead of enum pipe
tests/kms_display_modes: Use igt_crtc_t instead of enum pipe
tests/kms_rotation_crc: Use igt_crtc_t instead of enum pipe
tests/kms_properties: Use igt_crtc_t instead of enum pipe
tests/kms: Use igt_crtc_t instead of enum pipe

tests/amdgpu/amd_freesync_video_mode.c | 31 ++-
tests/chamelium/kms_chamelium_color.c | 49 ++--
tests/intel/kms_busy.c | 80 +++---
tests/intel/kms_dsc.c | 15 +-
tests/intel/kms_dsc_helper.c | 8 +-
tests/intel/kms_dsc_helper.h | 3 +-
tests/intel/kms_fence_pin_leak.c | 7 +-
tests/intel/kms_flip_scaled_crc.c | 36 ++-
tests/intel/kms_flip_tiling.c | 4 +-
tests/intel/kms_pipe_b_c_ivb.c | 102 +++++---
tests/intel/kms_pm_rpm.c | 4 +-
tests/intel/kms_psr2_su.c | 24 +-
tests/kms_atomic.c | 151 +++++++----
tests/kms_atomic_interruptible.c | 61 +++--
tests/kms_atomic_transition.c | 147 ++++++-----
tests/kms_color.c | 46 ++--
tests/kms_color_helper.c | 23 +-
tests/kms_color_helper.h | 8 +-
tests/kms_color_pipeline.c | 10 +-
tests/kms_concurrent.c | 8 +-
tests/kms_content_protection.c | 4 +-
tests/kms_cursor_legacy.c | 344 ++++++++++++-------------
tests/kms_display_modes.c | 30 +--
tests/kms_dither.c | 25 +-
tests/kms_flip_event_leak.c | 4 +-
tests/kms_panel_fitting.c | 40 +--
tests/kms_pipe_crc_basic.c | 59 +++--
tests/kms_plane.c | 185 +++++++------
tests/kms_plane_alpha_blend.c | 61 +++--
tests/kms_plane_scaling.c | 10 +-
tests/kms_properties.c | 91 ++++---
tests/kms_rmfb.c | 8 +-
tests/kms_rotation_crc.c | 42 +--
tests/kms_scaling_modes.c | 8 +-
tests/kms_universal_plane.c | 81 +++---
tests/kms_vrr.c | 98 +++----
36 files changed, 1052 insertions(+), 855 deletions(-)

--
2.52.0