aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/selftests/test-drm_rect.c
AgeCommit message (Collapse)AuthorFilesLines
2019-11-28drm/selftests: Add drm_rect selftestsVille Syrjälä1-0/+223
Add selftests for drm_rect. A few basic ones for clipped and unclipped cases, and a few special ones for specific bugs we had in the code. I'm too lazy to think of more corner cases to check at this time. Maybe later. Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Daniel Vetter <[email protected]> Reviewed-by: Benjamin Gaignard <[email protected]>