[PATCH v3 0/2] Add KUnit tests for drm_fb_blit()

From: Arthur Grillo
Date: Mon Sep 18 2023 - 18:57:32 EST


This patchset tests the drm_fb_blit() function.

As this function can be used with already tested formats, the first
patch adds calls to drm_fb_blit() on the tests of supported formats.

Some supported formats were not yet covered by the existing tests
because they are only supported by drm_fb_blit(). The second patch
adds those format conversion tests.

Signed-off-by: Arthur Grillo <arthurgrillo@xxxxxxxxxx>
---
Changes in v3:
- Fix memset sizes to avoid out-of-bound access
- Link to v2: https://lore.kernel.org/r/20230905-final-gsoc-v2-0-b52e8cb068ea@xxxxxxxxxx

Changes in v2:
- Split the patch into two (Maíra Canal)
- Link to v1: https://lore.kernel.org/r/20230901-final-gsoc-v1-1-e310c7685982@xxxxxxxxxx

---
Arthur Grillo (2):
drm/tests: Add calls to drm_fb_blit() on supported format conversion tests
drm/tests: Add new format conversion tests to better cover drm_fb_blit()

drivers/gpu/drm/tests/drm_format_helper_test.c | 285 +++++++++++++++++++++++++
1 file changed, 285 insertions(+)
---
base-commit: 37454bcbb68601c326b58ac45f508067047d791f
change-id: 20230901-final-gsoc-395a84443c8f

Best regards,
--
Arthur Grillo <arthurgrillo@xxxxxxxxxx>