[igt-dev] [PATCH i-g-t 00/16] kms: Various cleanups and fixes

Ville Syrjala ville.syrjala at linux.intel.com
Fri Jul 16 14:44:26 UTC 2021


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

While looking at a bunch of igts I got depressed by
the and rolled rotation vs. gen checks all over.
So I started to fix that stuff.

Also noticed a bunch of stuff in kms_big_fb which
I had to sort out.

And I tossed in my earlier kms_plane multi vs. single color
change (apart from using single colors for the crop test
since that now seems fixed). I did figure that maybe we want
single colors in the extended test, so slapped that change on
top.

Ville Syrjälä (16):
  lib/kms: Add igt_rotation_90_or_270()
  tests/kms_big_fb: Use igt_rotation_90_or_270()
  tests/kms_plane_scaling: Use igt_rotation_90_or_270()
  tests/kms_rotation_crc: Use igt_rotation_90_or_270()
  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: Nuke fliptab[]
  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             |  21 +++++
 tests/kms_big_fb.c        | 171 ++++++++++++++++----------------------
 tests/kms_plane.c         |  61 ++++++++------
 tests/kms_plane_scaling.c |   5 +-
 tests/kms_rotation_crc.c  |  53 +++++-------
 6 files changed, 189 insertions(+), 163 deletions(-)

-- 
2.31.1



More information about the igt-dev mailing list