Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 00/35] fix pipe-crtc conflict in crc helpers
@ 2025-11-23 15:23 Kunal Joshi
  2025-11-23 15:23 ` [PATCH i-g-t 01/35] lib/igt_pipe_crc: separate CRTC index from pipe Kunal Joshi
                   ` (38 more replies)
  0 siblings, 39 replies; 44+ messages in thread
From: Kunal Joshi @ 2025-11-23 15:23 UTC (permalink / raw)
  To: igt-dev; +Cc: Kunal Joshi

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(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2025-11-25 13:03 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-23 15:23 [PATCH i-g-t 00/35] fix pipe-crtc conflict in crc helpers Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 01/35] lib/igt_pipe_crc: separate CRTC index from pipe Kunal Joshi
2025-11-24 19:15   ` Ville Syrjälä
2025-11-24 20:31     ` Jani Nikula
2025-11-24 20:55       ` Ville Syrjälä
2025-11-25  8:47         ` Joshi, Kunal1
2025-11-23 15:23 ` [PATCH i-g-t 02/35] tests/kms_atomic: use display-aware pipe CRC helper Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 03/35] tests/kms_color: " Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 04/35] tests/kms_cursor_crc: " Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 05/35] tests/kms_cursor_legacy: " Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 06/35] tests/kms_display_modes: " Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 07/35] tests/kms_hdr: " Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 08/35] tests/kms_multipipe_modeset: " Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 09/35] tests/kms_rotation_crc: " Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 10/35] tests/kms_plane_lowres: " Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 11/35] tests/kms_async_flips: " Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 12/35] tests/kms_atomic_transition: " Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 13/35] tests/kms_plane: " Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 14/35] tests/kms_plane_alpha_blend, cursor: " Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 15/35] tests/kms_plane_multiple: " Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 16/35] tests/kms_sharpness_filter: " Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 17/35] tests/kms_universal_plane: " Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 18/35] tests/kms_prime: " Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 19/35] tests/kms_bw: " Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 20/35] tests/kms_ccs: " Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 21/35] tests/kms_fbc_dirty_rect: " Kunal Joshi
2025-11-23 15:23 ` [PATCH i-g-t 22/35] tests/kms_pwrite_crc: " Kunal Joshi
2025-11-23 15:24 ` [PATCH i-g-t 23/35] tests/xe_pxp: " Kunal Joshi
2025-11-23 15:24 ` [PATCH i-g-t 24/35] tests/kms_frontbuffer_tracking: " Kunal Joshi
2025-11-23 15:24 ` [PATCH i-g-t 25/35] tests/kms_mmap_write_crc: " Kunal Joshi
2025-11-23 15:24 ` [PATCH i-g-t 26/35] tests/kms_dirtyfb: " Kunal Joshi
2025-11-23 15:24 ` [PATCH i-g-t 27/35] tests/kms_big_fb: " Kunal Joshi
2025-11-23 15:24 ` [PATCH i-g-t 28/35] tests/xe_pat: " Kunal Joshi
2025-11-23 15:24 ` [PATCH i-g-t 29/35] tests/kms_draw_crc: " Kunal Joshi
2025-11-23 15:24 ` [PATCH i-g-t 30/35] tests/kms_fbcon_fbt: " Kunal Joshi
2025-11-23 15:24 ` [PATCH i-g-t 31/35] tests/tests/intel/kms_flip_scaled_crc: " Kunal Joshi
2025-11-23 15:24 ` [PATCH i-g-t 32/35] tests/intel/kms_flip_tiling: " Kunal Joshi
2025-11-23 15:24 ` [PATCH i-g-t 33/35] tests/intel/kms_pipe_stress: " Kunal Joshi
2025-11-23 15:24 ` [PATCH i-g-t 34/35] tests/intel/kms_fb_coherency: " Kunal Joshi
2025-11-23 15:24 ` [PATCH i-g-t 35/35] tests/intel/gem_pxp: " Kunal Joshi
2025-11-25  5:58 ` ✓ Xe.CI.BAT: success for fix pipe-crtc conflict in crc helpers Patchwork
2025-11-25  6:13 ` ✓ i915.CI.BAT: " Patchwork
2025-11-25  9:14 ` ✗ Xe.CI.Full: failure " Patchwork
2025-11-25 13:03 ` ✗ i915.CI.Full: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox