fix pipe-crtc conflict in crc helpers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest35 patches 4 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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