[PATCH v2 0/4] Add documentation and KUnit tests for functions on drm_framebuffer.c
Carlos Eduardo Gallo Filho
gcarlos at disroot.org
Tue Jul 18 18:17:22 UTC 2023
This series adds documentation and unit tests for
drm_framebuffer_check_src_coords() and drm_internal_framebuffer_create()
functions on drm_framebuffer.c, including new parameters to the, until
then, only existent test.
Many thanks,
Carlos
---
v2:
- Replaced strcpy to strscpy (Maxime)
- Added comments (Maxime)
- Ordered KUNIT_CASE_PARAM alphabetically (Maxime)
- Replaced some parameter cases description with more verbose ones
---
Carlos Eduardo Gallo Filho (4):
drm: Add kernel-doc for drm_framebuffer_check_src_coords()
drm/tests: Add test for drm_framebuffer_check_src_coords()
drm/tests: Add parameters to the drm_test_framebuffer_create test
drm/tests: Add test case for drm_internal_framebuffer_create()
drivers/gpu/drm/drm_framebuffer.c | 16 +-
drivers/gpu/drm/tests/drm_framebuffer_test.c | 178 ++++++++++++++++++-
2 files changed, 192 insertions(+), 2 deletions(-)
--
2.41.0
More information about the dri-devel
mailing list