Skip to content

tests/kms: Use igt_crtc_t instead of enum pipe

Ville Syrjala igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17tests/kms_plane_alpha_blend: Use igt_crtc_t instead of enum pipetests/kms_plane_alpha_blend.c+30 -310 replies
2/17tests/kms: Remove unused 'pipe' function parameterstests/amdgpu/amd_freesync_video_mode.c tests/intel/kms_flip_tiling.c tests/intel/kms_pm_rpm.c +7 more+44 -530 replies
3/17tests/kms: Remove const qualifier from 'pipe' function parameterstests/kms_panel_fitting.c tests/kms_scaling_modes.c+3 -30 replies
4/17tests/intel/kms_busy: Use 'enum pipe' instead of 'int'tests/intel/kms_busy.c+3 -30 replies
5/17tests/kms_atomic_interruptible: s/crtc/drm_crtc/tests/kms_atomic_interruptible.c+2 -20 replies
6/17tests/intel/kms_psr2_su: Use igt_crtc_t instead of enum pipetests/intel/kms_psr2_su.c+11 -130 replies
7/17tests/intel/kms_dsc*: Use igt_crtc_t instead of enum pipetests/intel/kms_dsc.c tests/intel/kms_dsc_helper.c tests/intel/kms_dsc_helper.h+14 -120 replies
8/17tests/kms_cursor_legacy: Use igt_crtc_t instead of enum pipetests/kms_cursor_legacy.c+170 -1730 replies
9/17tests/kms_color*: Use igt_crtc_t instead of enum pipetests/chamelium/kms_chamelium_color.c tests/kms_color.c tests/kms_color_helper.c +2 more+67 -690 replies
10/17tests/kms_atomic_transition: Use igt_crtc_t instead of enum pipetests/kms_atomic_transition.c+84 -630 replies
11/17tests/kms_plane: Use igt_crtc_t instead of enum pipetests/kms_plane.c+101 -780 replies
12/17tests/intel/kms_pipe_b_c_ivb: Use igt_crtc_t instead of enum pipetests/intel/kms_pipe_b_c_ivb.c+68 -340 replies
13/17tests/kms_vrr: Use igt_crtc_t instead of enum pipetests/kms_vrr.c+38 -280 replies
14/17tests/kms_display_modes: Use igt_crtc_t instead of enum pipetests/kms_display_modes.c+15 -150 replies
15/17tests/kms_rotation_crc: Use igt_crtc_t instead of enum pipetests/kms_rotation_crc.c+25 -170 replies
16/17tests/kms_properties: Use igt_crtc_t instead of enum pipetests/kms_properties.c+60 -310 replies
17/17tests/kms: Use igt_crtc_t instead of enum pipetests/amdgpu/amd_freesync_video_mode.c tests/intel/kms_busy.c tests/intel/kms_fence_pin_leak.c +9 more+327 -2400 replies

Reviews trailers per patch

None of the 17 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJani Nikula
SeriesR-b
1/17
2/17
3/17
4/17
5/17
6/17
7/17
8/17
9/17
10/17
11/17
12/17
13/17
14/17
15/17
16/17
17/17

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

From: Ville Syrjälä <[email protected]>

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(-)
Signature · 1 line
2.52.0