Skip to content

kms: Clean up the supported rotations mess

Ville Syrjala igt-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 6 repliesIn review
  2. v111 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11lib/kms: Add igt_plane_has_rotation()lib/igt_kms.c lib/igt_kms.h+57 -01 reply
2/11tests/kms_rotation_crc: Use igt_plane_has_rotation()tests/kms_rotation_crc.c+12 -201 reply
3/11tests/kms_plane_scaling: Use igt_plane_has_rotation()tests/kms_plane_scaling.c+1 -41 reply
4/11tests/kms_big_fb: Use igt_plane_has_rotation()tests/kms_big_fb.c+1 -81 reply
5/11tests/kms_big_fb: Use igt_has_drm_cap()tests/kms_big_fb.c+1 -61 reply
6/11tests/kms_big_fb: Move batch creation into lower level functionstests/kms_big_fb.c+9 -90 replies
7/11tests/kms_big_fb: Move format/modifier checks lowertests/kms_big_fb.c+6 -110 replies
8/11tests/kms_big_fb: Nuke the stride/format overridestests/kms_big_fb.c+1 -140 replies
9/11tests/kms_big_fb: Check whether the rotation is supposed in the async flip testtests/kms_big_fb.c+1 -00 replies
10/11tests/kms_plane: Abstract single vs. multiple crsc bettertests/kms_plane.c+34 -270 replies
11/11tests/kms_plane: Use single colors during extended testtests/kms_plane.c+1 -10 replies

Reviews trailers per patch

5 of 11 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKarthik B SJuha-Pekka Heikkila
SeriesR-b
1/11R-b
2/11R-b
3/11R-b
4/11R-b
5/11R-b
6/11
7/11
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [igt-dev] [PATCH i-g-t v2 00/11] kms: Clean up the supported rotations mess

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

Full repost due to Ci getting confused by bogus patch numbering :/

Reposting of igt_plane_has_rotation() + a few other remaining bits and bobs from the previous series. The main idea here is to remove most of the hardcoded platform checks for supported rotations. Sadly not quite 100% due to a few exceptional cases.

I left out the kms_big_fb fliptab[] nukage for the moment so that the CI results will be less noisy.

v2: keep some gen9+ checks in kms_rotation_crc

Ville Syrjälä (11):
lib/kms: Add igt_plane_has_rotation() tests/kms_rotation_crc: Use igt_plane_has_rotation() tests/kms_plane_scaling: Use igt_plane_has_rotation() tests/kms_big_fb: Use igt_plane_has_rotation() tests/kms_big_fb: Use igt_has_drm_cap()
tests/kms_big_fb: Move batch creation into lower level functions tests/kms_big_fb: Move format/modifier checks lower tests/kms_big_fb: Nuke the stride/format overrides tests/kms_big_fb: Check whether the rotation is supposed in the async
flip test
tests/kms_plane: Abstract single vs. multiple crsc better tests/kms_plane: Use single colors during extended test

 lib/igt_kms.c             | 41 ++++++++++++++++++++++++
 lib/igt_kms.h             | 16 ++++++++++
 tests/kms_big_fb.c        | 67 +++++++++++----------------------------
 tests/kms_plane.c         | 61 +++++++++++++++++++----------------
 tests/kms_plane_scaling.c |  5 +--
 tests/kms_rotation_crc.c  | 32 +++++++------------
 6 files changed, 123 insertions(+), 99 deletions(-)
Signature · 1 line
2.31.1