public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/3] lib/kms: only keep valid igt_crtc_t around
@ 2026-03-30  7:36 Jani Nikula
  2026-03-30  7:36 ` [PATCH i-g-t 1/3] lib/kms: start returning NULL for invalid pipes from igt_crtc_for_pipe() Jani Nikula
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Jani Nikula @ 2026-03-30  7:36 UTC (permalink / raw)
  To: igt-dev; +Cc: jani.nikula, ville.syrjala

Only keep valid igt_crtc_t in display->crtcs[] and make
igt_display_n_crtcs() return the actual number of CRTCs on the device.

Jani Nikula (3):
  lib/kms: start returning NULL for invalid pipes from
    igt_crtc_for_pipe()
  lib/kms: use a for_each_crtc() loop in igt_crtc_for_pipe()
  lib/kms: only keep valid CRTCs in display->crtcs[]

 lib/igt_kms.c                           | 51 +++++++++++++------------
 lib/igt_kms.h                           | 14 +------
 tests/amdgpu/amd_multidisplay_modeset.c |  2 +-
 tests/intel/kms_joiner.c                | 14 +++----
 tests/intel/kms_joiner_helper.c         |  4 +-
 tests/intel/kms_pipe_b_c_ivb.c          |  4 +-
 tests/intel/kms_pipe_stress.c           |  6 +--
 7 files changed, 44 insertions(+), 51 deletions(-)

-- 
2.47.3


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

end of thread, other threads:[~2026-03-31  8:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-30  7:36 [PATCH i-g-t 0/3] lib/kms: only keep valid igt_crtc_t around Jani Nikula
2026-03-30  7:36 ` [PATCH i-g-t 1/3] lib/kms: start returning NULL for invalid pipes from igt_crtc_for_pipe() Jani Nikula
2026-03-30  7:36 ` [PATCH i-g-t 2/3] lib/kms: use a for_each_crtc() loop in igt_crtc_for_pipe() Jani Nikula
2026-03-30  7:36 ` [PATCH i-g-t 3/3] lib/kms: only keep valid CRTCs in display->crtcs[] Jani Nikula
2026-03-30 22:57 ` [PATCH i-g-t 0/3] lib/kms: only keep valid igt_crtc_t around Ville Syrjälä
2026-03-31  7:50   ` Jani Nikula
2026-03-31  8:49     ` Saarinen, Jani
2026-03-30 23:52 ` ✓ i915.CI.BAT: success for " Patchwork
2026-03-31  0:00 ` ✓ Xe.CI.BAT: " Patchwork
2026-03-31  3:29 ` ✓ Xe.CI.FULL: " Patchwork
2026-03-31  5:58 ` ✓ 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