dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Increase code coverage on drm_format_helper.c
@ 2023-07-21 18:23 Arthur Grillo
  2023-07-21 18:23 ` [PATCH 1/6] drm/format-helper: Test default pitch fallback Arthur Grillo
                   ` (5 more replies)
  0 siblings, 6 replies; 20+ messages in thread
From: Arthur Grillo @ 2023-07-21 18:23 UTC (permalink / raw)
  To: dri-devel
  Cc: tzimmermann, tales.aparecida, javierm, mairacanal, davidgow,
	jose.exposito89, andrealmeid, arthurgrillo

The following series include improvements and new KUnit tests to some
functions on drm_format_helper.c.

The first patch improves existing conversion tests to assure that the
default pitch is used when NULL is used on the `dst_pitch` argument.

Patches 2, 3, 4, and 6 add the new parametrized tests to the following
functions:

- drm_fb_swab()
- drm_fb_clip_offset()
- drm_fb_build_fourcc_list()
- drm_fb_memcpy()

The 5th patch is a change to the conversion_buf_size() helper used on
the tests, this change was needed to make the patch 6.

a coverage report for the file can be found below:
https://grillo-0.github.io/coverage-reports/gsoc-drm-format-test/drivers/gpu/drm/drm_format_helper.c.gcov.html

Arthur Grillo (6):
  drm/format-helper: Test default pitch fallback
  drm/format-helper: Add KUnit tests for drm_fb_swab()
  drm/format-helper: Add KUnit tests for drm_fb_clip_offset()
  drm/format-helper: Add KUnit tests for drm_fb_build_fourcc_list()
  drm/format-helper-test: Add multi-plane support to
    conversion_buf_size()
  drm/format-helper: Add KUnit tests for drm_fb_memcpy()

 .../gpu/drm/tests/drm_format_helper_test.c    | 849 ++++++++++++++++--
 1 file changed, 791 insertions(+), 58 deletions(-)

-- 
2.41.0


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2023-08-09 20:01 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-21 18:23 [PATCH 0/6] Increase code coverage on drm_format_helper.c Arthur Grillo
2023-07-21 18:23 ` [PATCH 1/6] drm/format-helper: Test default pitch fallback Arthur Grillo
2023-08-05 12:56   ` Maira Canal
2023-08-09 14:54   ` André Almeida
2023-07-21 18:23 ` [PATCH 2/6] drm/format-helper: Add KUnit tests for drm_fb_swab() Arthur Grillo
2023-08-05 13:02   ` Maira Canal
2023-08-09 14:57   ` André Almeida
2023-07-21 18:23 ` [PATCH 3/6] drm/format-helper: Add KUnit tests for drm_fb_clip_offset() Arthur Grillo
2023-08-05 13:16   ` Maira Canal
2023-08-09 15:28   ` André Almeida
2023-07-21 18:23 ` [PATCH 4/6] drm/format-helper: Add KUnit tests for drm_fb_build_fourcc_list() Arthur Grillo
2023-08-05 13:21   ` Maira Canal
2023-08-09 15:54   ` André Almeida
2023-07-21 18:23 ` [PATCH 5/6] drm/format-helper-test: Add multi-plane support to conversion_buf_size() Arthur Grillo
2023-08-05 13:22   ` Maira Canal
2023-08-09 16:16   ` André Almeida
2023-07-21 18:23 ` [PATCH 6/6] drm/format-helper: Add KUnit tests for drm_fb_memcpy() Arthur Grillo
2023-07-25 14:14   ` kernel test robot
2023-08-05 13:26   ` Maira Canal
2023-08-09 20:01     ` Arthur Grillo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox