drm/test: Add test cases for drm_rect_rotate_inv()
authorArthur Grillo <arthurgrillo@riseup.net>
Tue, 18 Apr 2023 23:01:46 +0000 (20:01 -0300)
committerMaíra Canal <mairacanal@riseup.net>
Mon, 24 Apr 2023 19:33:26 +0000 (16:33 -0300)
commit8356b97906503a02125c8d03c9b88a61ea46a05a
tree73ab7988874095969168670c678d58cdb98ae33c
parentb5d88ec0ee3d0c75d2eb515efc335d031134bd75
drm/test: Add test cases for drm_rect_rotate_inv()

Insert a parameterized test for the drm_rect_rotate_inv() to ensure its
correctness and prevent future regressions. The test covers all rotation
modes.

It uses the same test cases from drm_test_rect_rotate().

Signed-off-by: Arthur Grillo <arthurgrillo@riseup.net>
Reviewed-by: Maíra Canal <mcanal@igalia.com>
Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20230418230146.461129-6-arthurgrillo@riseup.net
drivers/gpu/drm/tests/drm_rect_test.c