Skip to content

kms: A bit more cleanup around igt_kms

Ville Syrjala igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tests/nouveau_crc: Extract {setup,cleanup}_test()tests/nouveau_crc.c+50 -392 replies
2/5tests/nouveau_crc: Convert to dynamic subtestslib/igt_kms.h tests/nouveau_crc.c+68 -572 replies
3/5tests/nouveau_crc: Use igt_first_crtc() instead of igt_crtc_for_pipe()tests/nouveau_crc.c+2 -22 replies
4/5lib/kms: Make igt_first_crtc() skip if no CRTCs are aroundlib/igt_kms.c tests/nouveau_crc.c+2 -11 reply
5/5lib/kms: Make igt_first_crtc_with_single_output() skip if no CRTC/output can be foundlib/igt_kms.c tests/intel/gem_exec_reloc.c tests/kms_plane.c +1 more+2 -31 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJani NikulaLyude Paul
1/5R-b A-b
2/5R-b
3/5R-b R-b
4/5R-b
5/5R-b

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/5] kms: A bit more cleanup around igt_kms

From: Ville Syrjälä <[email protected]>

Convert noveau_crc to dyanmic subtests to get rid of of for_each_pipe_static(). And sprinkle some igt_skip()s to a few "get a CRTC" helper functions to streamline the tests.

Ville Syrjälä (5):
tests/nouveau_crc: Extract {setup,cleanup}_test() tests/nouveau_crc: Convert to dynamic subtests tests/nouveau_crc: Use igt_first_crtc() instead of igt_crtc_for_pipe() lib/kms: Make igt_first_crtc() skip if no CRTCs are around lib/kms: Make igt_first_crtc_with_single_output() skip if no
CRTC/output can be found

 lib/igt_kms.c                |   4 +
 tests/intel/gem_exec_reloc.c |   1 -
 tests/kms_plane.c            |   1 -
 tests/kms_plane_scaling.c    |   1 -
 tests/nouveau_crc.c          | 197 ++++++++++++++++++++---------------
 5 files changed, 119 insertions(+), 85 deletions(-)
Signature · 1 line
2.52.0