Skip to content

Promote kms_flip_tiling to general

Ville Syrjala igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8lib/fb: Introduce igt_fb_modifier_name()lib/igt_fb.c lib/igt_fb.h+30 -01 reply
2/8tests/kms_plane: Use IGT_MODIFIER_{FMT, ARGS}tests/kms_plane.c+8 -81 reply
3/8tests/i915/kms_flip_tiling: Drop ancient stride change restrictintests/i915/kms_flip_tiling.c+7 -201 reply
4/8tests/i915/kms_flip_tiling: Replace i915 interlace check with try_committests/i915/kms_flip_tiling.c+12 -91 reply
5/8tests/i915/kms_flip_tiling: Generalize away copy-pastatests/i915/kms_flip_tiling.c+30 -1794 replies
6/8tests/i915/kms_flip_tiling: Drop useless i915 includetests/i915/kms_flip_tiling.c+0 -11 reply
7/8tests/i915/kms_flip_tiling: Stick pipe_crc into data_ttests/i915/kms_flip_tiling.c+15 -211 reply
8/8tests/i915/kms_flip_tiling: Keep CRC running all the timetests/i915/kms_flip_tiling.c+13 -81 reply

Reviews trailers per patch

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

PatchKarthik B S
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-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 [igt-dev] [PATCH i-g-t 0/8] Promote kms_flip_tiling to general

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

Got fed up with the piles of copy-pasted code in kms_flip_tiling and so proceeded to fully generalize it. After this it tests flipping between all ordered pairs of modifiers. I did have to optimize it a bit to keep the runtime within reasonable bounds since we now test a lot more than before.

The only reason why I still left it ina tests/i915/ is that it relies on the new igt_fb_modifier_name() to generate the dynamic subtest name, and I didn't populate any non-i915 modifiers in there. So if/when that gets filled out a bit more we can move this back out from the i915 dungeon.

Ville Syrjälä (8):
lib/fb: Introduce igt_fb_modifier_name() tests/kms_plane: Use IGT_MODIFIER_{FMT,ARGS} tests/i915/kms_flip_tiling: Drop ancient stride change restrictin tests/i915/kms_flip_tiling: Replace i915 interlace check with
try_commit
tests/i915/kms_flip_tiling: Generalize away copy-pasta tests/i915/kms_flip_tiling: Drop useless i915 include tests/i915/kms_flip_tiling: Stick pipe_crc into data_t tests/i915/kms_flip_tiling: Keep CRC running all the time

 lib/igt_fb.c                 |  26 +++
 lib/igt_fb.h                 |   4 +
 tests/i915/kms_flip_tiling.c | 301 ++++++++---------------------------
 tests/kms_plane.c            |  16 +-
 4 files changed, 108 insertions(+), 239 deletions(-)
Signature · 1 line
2.32.0