Skip to content

fix pipe-crtc conflict in crc helpers

Kunal Joshi igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest35 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/35lib/igt_pipe_crc: separate CRTC index from pipelib/igt_pipe_crc.c lib/igt_pipe_crc.h tests/kms_pipe_crc_basic.c+48 -94 replies
2/35tests/kms_atomic: use display-aware pipe CRC helpertests/kms_atomic.c+2 -20 replies
3/35tests/kms_color: use display-aware pipe CRC helpertests/kms_color.c+1 -10 replies
4/35tests/kms_cursor_crc: use display-aware pipe CRC helpertests/kms_cursor_crc.c+1 -10 replies
5/35tests/kms_cursor_legacy: use display-aware pipe CRC helpertests/kms_cursor_legacy.c+2 -20 replies
6/35tests/kms_display_modes: use display-aware pipe CRC helpertests/kms_display_modes.c+4 -20 replies
7/35tests/kms_hdr: use display-aware pipe CRC helpertests/kms_hdr.c+2 -10 replies
8/35tests/kms_multipipe_modeset: use display-aware pipe CRC helpertests/kms_multipipe_modeset.c+2 -20 replies
9/35tests/kms_rotation_crc: use display-aware pipe CRC helpertests/kms_rotation_crc.c+3 -30 replies
10/35tests/kms_plane_lowres: use display-aware pipe CRC helpertests/kms_plane_lowres.c+2 -10 replies
11/35tests/kms_async_flips: use display-aware pipe CRC helpertests/kms_async_flips.c+3 -30 replies
12/35tests/kms_atomic_transition: use display-aware pipe CRC helpertests/kms_atomic_transition.c+3 -20 replies
13/35tests/kms_plane: use display-aware pipe CRC helpertests/kms_plane.c+2 -20 replies
14/35tests/kms_plane_alpha_blend, cursor: use display-aware pipe CRC helpertests/kms_plane_alpha_blend.c tests/kms_plane_cursor.c+5 -40 replies
15/35tests/kms_plane_multiple: use display-aware pipe CRC helpertests/kms_plane_multiple.c+6 -60 replies
16/35tests/kms_sharpness_filter: use display-aware pipe CRC helpertests/kms_sharpness_filter.c+3 -20 replies
17/35tests/kms_universal_plane: use display-aware pipe CRC helpertests/kms_universal_plane.c+2 -20 replies
18/35tests/kms_prime: use display-aware pipe CRC helpertests/kms_prime.c+2 -20 replies
19/35tests/kms_bw: use display-aware pipe CRC helpertests/kms_bw.c+3 -20 replies
20/35tests/kms_ccs: use display-aware pipe CRC helpertests/intel/kms_ccs.c+3 -20 replies
21/35tests/kms_fbc_dirty_rect: use display-aware pipe CRC helpertests/intel/kms_fbc_dirty_rect.c+3 -20 replies
22/35tests/kms_pwrite_crc: use display-aware pipe CRC helpertests/intel/kms_pwrite_crc.c+3 -20 replies
23/35tests/xe_pxp: use display-aware pipe CRC helpertests/intel/xe_pxp.c+2 -20 replies
24/35tests/kms_frontbuffer_tracking: use display-aware pipe CRC helpertests/intel/kms_frontbuffer_tracking.c+3 -20 replies
25/35tests/kms_mmap_write_crc: use display-aware pipe CRC helpertests/intel/kms_mmap_write_crc.c+3 -20 replies
26/35tests/kms_dirtyfb: use display-aware pipe CRC helpertests/intel/kms_dirtyfb.c+3 -20 replies
27/35tests/kms_big_fb: use display-aware pipe CRC helpertests/intel/kms_big_fb.c+6 -40 replies
28/35tests/xe_pat: use display-aware pipe CRC helpertests/intel/xe_pat.c+3 -10 replies
29/35tests/kms_draw_crc: use display-aware pipe CRC helpertests/intel/kms_draw_crc.c+3 -10 replies
30/35tests/kms_fbcon_fbt: use display-aware pipe CRC helpertests/intel/kms_fbcon_fbt.c+4 -30 replies
31/35tests/tests/intel/kms_flip_scaled_crc: use display-aware pipe CRC helpertests/intel/kms_flip_scaled_crc.c+2 -20 replies
32/35tests/intel/kms_flip_tiling: use display-aware pipe CRC helpertests/intel/kms_flip_tiling.c+1 -10 replies
33/35tests/intel/kms_pipe_stress: use display-aware pipe CRC helpertests/intel/kms_pipe_stress.c+2 -20 replies
34/35tests/intel/kms_fb_coherency: use display-aware pipe CRC helpertests/intel/kms_fb_coherency.c+1 -10 replies
35/35tests/intel/gem_pxp: use display-aware pipe CRC helpertests/intel/gem_pxp.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH i-g-t 00/35] fix pipe-crtc conflict in crc helpers

This series updates all Intel and Xe KMS CRC users to rely on the new CRTC-aware helpers instead of igt_pipe_crc_new(). The library change separates logical pipe indices from CRTC indices and exposes helper constructors that derive the correct debugfs crtc-<index>/crc/ paths from igt_display state.

Each test is then switched over to use igt_pipe_crc_new_for_display o that CRC collection no longer assumes pipe == CRTC index. The intent is to keep the test behaviour unchanged while making the series robust on platforms where CRTC numbering no longer matches hardware pipe ordering.

Will merge all changes in one file later.

Kunal Joshi (35):
lib/igt_pipe_crc: separate CRTC index from pipe tests/kms_atomic: use display-aware pipe CRC helper tests/kms_color: use display-aware pipe CRC helper tests/kms_cursor_crc: use display-aware pipe CRC helper tests/kms_cursor_legacy: use display-aware pipe CRC helper tests/kms_display_modes: use display-aware pipe CRC helper tests/kms_hdr: use display-aware pipe CRC helper tests/kms_multipipe_modeset: use display-aware pipe CRC helper tests/kms_rotation_crc: use display-aware pipe CRC helper tests/kms_plane_lowres: use display-aware pipe CRC helper tests/kms_async_flips: use display-aware pipe CRC helper tests/kms_atomic_transition: use display-aware pipe CRC helper tests/kms_plane: use display-aware pipe CRC helper tests/kms_plane_alpha_blend,cursor: use display-aware pipe CRC helper tests/kms_plane_multiple: use display-aware pipe CRC helper tests/kms_sharpness_filter: use display-aware pipe CRC helper tests/kms_universal_plane: use display-aware pipe CRC helper tests/kms_prime: use display-aware pipe CRC helper tests/kms_bw: use display-aware pipe CRC helper tests/kms_ccs: use display-aware pipe CRC helper tests/kms_fbc_dirty_rect: use display-aware pipe CRC helper tests/kms_pwrite_crc: use display-aware pipe CRC helper tests/xe_pxp: use display-aware pipe CRC helper tests/kms_frontbuffer_tracking: use display-aware pipe CRC helper tests/kms_mmap_write_crc: use display-aware pipe CRC helper tests/kms_dirtyfb: use display-aware pipe CRC helper tests/kms_big_fb: use display-aware pipe CRC helper tests/xe_pat: use display-aware pipe CRC helper tests/kms_draw_crc: use display-aware pipe CRC helper tests/kms_fbcon_fbt: use display-aware pipe CRC helper tests/tests/intel/kms_flip_scaled_crc: use display-aware pipe CRC
helper
tests/intel/kms_flip_tiling: use display-aware pipe CRC helper tests/intel/kms_pipe_stress: use display-aware pipe CRC helper tests/intel/kms_fb_coherency: use display-aware pipe CRC helper tests/intel/gem_pxp: use display-aware pipe CRC helper

 lib/igt_pipe_crc.c                     | 39 ++++++++++++++++++++++++--
 lib/igt_pipe_crc.h                     |  6 ++++
 tests/intel/gem_pxp.c                  |  2 +-
 tests/intel/kms_big_fb.c               | 10 ++++---
 tests/intel/kms_ccs.c                  |  5 ++--
 tests/intel/kms_dirtyfb.c              |  5 ++--
 tests/intel/kms_draw_crc.c             |  4 ++-
 tests/intel/kms_fb_coherency.c         |  2 +-
 tests/intel/kms_fbc_dirty_rect.c       |  5 ++--
 tests/intel/kms_fbcon_fbt.c            |  7 +++--
 tests/intel/kms_flip_scaled_crc.c      |  4 +--
 tests/intel/kms_flip_tiling.c          |  2 +-
 tests/intel/kms_frontbuffer_tracking.c |  5 ++--
 tests/intel/kms_mmap_write_crc.c       |  5 ++--
 tests/intel/kms_pipe_stress.c          |  4 +--
 tests/intel/kms_pwrite_crc.c           |  5 ++--
 tests/intel/xe_pat.c                   |  4 ++-
 tests/intel/xe_pxp.c                   |  4 +--
 tests/kms_async_flips.c                |  6 ++--
 tests/kms_atomic.c                     |  4 +--
 tests/kms_atomic_transition.c          |  5 ++--
 tests/kms_bw.c                         |  5 ++--
 tests/kms_color.c                      |  2 +-
 tests/kms_cursor_crc.c                 |  2 +-
 tests/kms_cursor_legacy.c              |  4 +--
 tests/kms_display_modes.c              |  6 ++--
 tests/kms_hdr.c                        |  3 +-
 tests/kms_multipipe_modeset.c          |  4 +--
 tests/kms_pipe_crc_basic.c             | 12 ++++----
 tests/kms_plane.c                      |  4 +--
 tests/kms_plane_alpha_blend.c          |  4 +--
 tests/kms_plane_cursor.c               |  5 ++--
 tests/kms_plane_lowres.c               |  3 +-
 tests/kms_plane_multiple.c             | 12 ++++----
 tests/kms_prime.c                      |  4 +--
 tests/kms_rotation_crc.c               |  6 ++--
 tests/kms_sharpness_filter.c           |  5 ++--
 tests/kms_universal_plane.c            |  4 +--
 38 files changed, 139 insertions(+), 79 deletions(-)
Signature · 1 line
2.25.1