Skip to content

lib/kms: Start introducing for_each_crtc*()

Ville Syrjala igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15lib/kms: Introduce for_each_crtc*()lib/igt_kms.h+68 -04 replies
2/15tests/drm_read: Use for_each_crtc*()tests/drm_read.c+5 -31 reply
3/15tests/kms_plane_scaling: Use for_each_crtc*()tests/kms_plane_scaling.c+59 -604 replies
4/15tests/kms_color: Convert to for_each_crtc*()tests/kms_color.c+14 -141 reply
5/15tests/intel/kms_pm_dc: Use for_each_crtc*()tests/intel/kms_pm_dc.c+16 -201 reply
6/15tests/kms_rotation_crc: Use for_each_crtc*()tests/kms_rotation_crc.c+11 -141 reply
7/15lib/kms: Use for_each_crtc_with_single_output() and for_each_crtc()tests/intel/kms_busy.c tests/kms_pipe_crc_basic.c+78 -551 reply
8/15lib/kms: Use for_each_crtc_with_single_output(), part 1tests/kms_cursor_edge_walk.c+9 -51 reply
9/15lib/kms: Use for_each_crtc_with_single_output(), part 2tests/amdgpu/amd_cursor_overlay.c tests/kms_color_pipeline.c tests/kms_plane.c +5 more+89 -661 reply
10/15lib/kms: Use for_each_crtc_with_single_output(), part 3tests/kms_atomic.c tests/kms_cursor_crc.c+128 -1051 reply
11/15lib/kms: Use for_each_crtc_with_valid_output(), part 1tests/intel/kms_psr2_sf.c tests/kms_lease.c tests/kms_vblank.c+31 -171 reply
12/15lib/kms: Use for_each_crtc_with_valid_output(), part 2tests/intel/kms_big_fb.c tests/intel/kms_ccs.c tests/intel/kms_fb_coherency.c +3 more+65 -322 replies
13/15lib/kms: Use for_each_crtc_with_valid_output(), part 3tests/kms_prime.c+4 -21 reply
14/15lib/kms: Use for_each_crtc_with_valid_output(), part 4lib/igt_kms.c tests/intel/kms_cdclk.c tests/intel/kms_draw_crc.c +22 more+186 -1461 reply
15/15lib/kms: Nuke for_each_pipe_with_*_output()lib/igt_kms.h+0 -381 reply

Reviews trailers per patch

All 15 patches have a Reviewed-by or Acked-by.

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

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/15] lib/kms: Start introducing for_each_crtc*()

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

Start converting the for_each_pipe*() stuff to for_each_crtc*().

The series was getting a bit too big to handle so I cut it after I got all the for_each_pipe_{single,valid}_output() converted. There is still quite a bit of for_each_pipe() left to do after this.

Haven't even smoke tested this. Fingers crossed...

Ville Syrjälä (15):
lib/kms: Introduce for_each_crtc*()
tests/drm_read: Use for_each_crtc*() tests/kms_plane_scaling: Use for_each_crtc*() tests/kms_color: Convert to for_each_crtc*() tests/intel/kms_pm_dc: Use for_each_crtc*() tests/kms_rotation_crc: Use for_each_crtc*()
lib/kms: Use for_each_crtc_with_single_output() and for_each_crtc() lib/kms: Use for_each_crtc_with_single_output(), part 1 lib/kms: Use for_each_crtc_with_single_output(), part 2 lib/kms: Use for_each_crtc_with_single_output(), part 3 lib/kms: Use for_each_crtc_with_valid_output(), part 1 lib/kms: Use for_each_crtc_with_valid_output(), part 2 lib/kms: Use for_each_crtc_with_valid_output(), part 3 lib/kms: Use for_each_crtc_with_valid_output(), part 4 lib/kms: Nuke for_each_pipe_with_*_output()

 lib/igt_kms.c                          |   4 +-
 lib/igt_kms.h                          |  70 ++++++++----
 tests/amdgpu/amd_cursor_overlay.c      |  16 ++-
 tests/drm_read.c                       |   8 +-
 tests/intel/kms_big_fb.c               |   6 +-
 tests/intel/kms_busy.c                 |  59 +++++-----
 tests/intel/kms_ccs.c                  |  19 +++-
 tests/intel/kms_cdclk.c                |  12 +-
 tests/intel/kms_draw_crc.c             |   8 +-
 tests/intel/kms_dsc.c                  |   6 +-
 tests/intel/kms_fb_coherency.c         |   6 +-
 tests/intel/kms_fence_pin_leak.c       |   8 +-
 tests/intel/kms_flip_tiling.c          |  15 ++-
 tests/intel/kms_frontbuffer_tracking.c |  14 +--
 tests/intel/kms_mmap_write_crc.c       |  10 +-
 tests/intel/kms_pipe_b_c_ivb.c         |   8 +-
 tests/intel/kms_pm_dc.c                |  36 +++---
 tests/intel/kms_pm_rpm.c               |   8 +-
 tests/intel/kms_psr2_sf.c              |   7 +-
 tests/intel/kms_psr2_su.c              |  15 +--
 tests/intel/kms_psr_stress_test.c      |   6 +-
 tests/intel/kms_pwrite_crc.c           |   6 +-
 tests/intel/perf_pmu.c                 |   8 +-
 tests/intel/prime_mmap_kms.c           |   6 +-
 tests/intel/xe_pat.c                   |   8 +-
 tests/kms_async_flips.c                |  23 ++--
 tests/kms_atomic.c                     | 147 ++++++++++++++-----------
 tests/kms_atomic_interruptible.c       |  79 ++++++++-----
 tests/kms_atomic_transition.c          |  25 +++--
 tests/kms_color.c                      |  28 ++---
 tests/kms_color_pipeline.c             |  12 +-
 tests/kms_cursor_crc.c                 |  86 ++++++++-------
 tests/kms_cursor_edge_walk.c           |  14 ++-
 tests/kms_flip_event_leak.c            |  11 +-
 tests/kms_invalid_mode.c               |  13 ++-
 tests/kms_lease.c                      |  15 ++-
 tests/kms_panel_fitting.c              |  12 +-
 tests/kms_pipe_crc_basic.c             |  74 ++++++++-----
 tests/kms_plane.c                      |   8 +-
 tests/kms_plane_alpha_blend.c          |  24 ++--
 tests/kms_plane_cursor.c               |  14 ++-
 tests/kms_plane_multiple.c             |  11 +-
 tests/kms_plane_scaling.c              | 119 ++++++++++----------
 tests/kms_prime.c                      |   6 +-
 tests/kms_properties.c                 |  22 ++--
 tests/kms_rmfb.c                       |  10 +-
 tests/kms_rotation_crc.c               |  25 ++---
 tests/kms_scaling_modes.c              |  12 +-
 tests/kms_sequence.c                   |  13 ++-
 tests/kms_universal_plane.c            |  49 +++++----
 tests/kms_vblank.c                     |  63 +++++++----
 tests/prime_vgem.c                     |   4 +-
 tests/vmwgfx/vmw_prime.c               |  16 +--
 53 files changed, 745 insertions(+), 559 deletions(-)
Signature · 1 line
2.52.0