drm/tests: Add test cases for drm_rect_rotate()
authorArthur Grillo <arthurgrillo@riseup.net>
Tue, 18 Apr 2023 23:01:45 +0000 (20:01 -0300)
committerMaíra Canal <mairacanal@riseup.net>
Mon, 24 Apr 2023 19:33:25 +0000 (16:33 -0300)
commitb5d88ec0ee3d0c75d2eb515efc335d031134bd75
treea4a7c7c00847f4bccc83ffdd0b69a10a1176a4fb
parent881e2a9cc11fb53b1de10d951a11a69d23035bbf
drm/tests: Add test cases for drm_rect_rotate()

Insert a parameterized test for the drm_rect_rotate() to ensure
correctness and prevent future regressions.

All possible rotation modes are covered by the test.

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-5-arthurgrillo@riseup.net
drivers/gpu/drm/tests/drm_rect_test.c