mbox series

[v2,0/4] Add documentation and KUnit tests for functions on drm_framebuffer.c

Message ID 20230718181726.3799-1-gcarlos@disroot.org (mailing list archive)
Headers show
Series Add documentation and KUnit tests for functions on drm_framebuffer.c | expand

Message

Carlos Eduardo Gallo Filho July 18, 2023, 6:17 p.m. UTC
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(-)