Skip to content

lib/kms: only keep valid igt_crtc_t around

Jani Nikula igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib/kms: start returning NULL for invalid pipes from igt_crtc_for_pipe()lib/igt_kms.c tests/amdgpu/amd_multidisplay_modeset.c tests/intel/kms_joiner.c +3 more+25 -300 replies
2/3lib/kms: use a for_each_crtc() loop in igt_crtc_for_pipe()lib/igt_kms.c+5 -50 replies
3/3lib/kms: only keep valid CRTCs in display->crtcs[]lib/igt_kms.c lib/igt_kms.h+18 -200 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchVille Syrjälä
SeriesR-b
1/3
2/3
3/3

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 0/3] lib/kms: only keep valid igt_crtc_t around

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(-)
Signature · 1 line
2.47.3