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

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Wed Nov 10 18:03:52 UTC 2021


Patches 6..11 look all ok.

Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>

On 9.9.2021 18.30, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> 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(-)
> 



More information about the igt-dev mailing list