Home
last modified time | relevance | path

Searched hist:"96 c3161926c6aa81365f074e9c408ca31b7ca756" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/tests/
H A Ddrm_rect_test.cdiff 96c3161926c6aa81365f074e9c408ca31b7ca756 Tue Apr 18 18:01:42 CDT 2023 Arthur Grillo <arthurgrillo@riseup.net> drm/tests: Add test cases for drm_rect_intersect()

Insert parameterized tests for the drm_rect_intersect() to ensure
correctness and prevent future regressions.

Also, create a helper for testing if two drm_rects are equal.

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-2-arthurgrillo@riseup.net