linux/drivers/gpu/drm/tests
Marco Pagani 93032ae634
drm/test: add a test suite for GEM objects backed by shmem
This patch introduces an initial KUnit test suite for GEM objects
backed by shmem buffers.

Suggested-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Marco Pagani <marpagan@redhat.com>

v5:
- using __drm_kunit_helper_alloc_drm_device() to avoid local struct
v4:
- Add missing MMU dependency for DRM_GEM_SHMEM_HELPER (kernel test robot)
v3:
- Explicitly cast pointers in the helpers
- Removed unused pointer to parent dev in struct fake_dev
- Test entries reordering in Kconfig and Makefile sent as a separate patch
v2:
- Improved description of test cases
- Cleaner error handling using KUnit actions
- Alphabetical order in Kconfig and Makefile

Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231130171417.74162-1-marpagan@redhat.com
2023-12-04 09:32:25 +01:00
..
.kunitconfig
drm_buddy_test.c drm/tests: Remove slow tests 2023-11-09 14:42:24 +01:00
drm_client_modeset_test.c
drm_cmdline_parser_test.c
drm_connector_test.c
drm_damage_helper_test.c
drm_dp_mst_helper_test.c drm/dp_mst: Add kunit tests for drm_dp_get_vc_payload_bw() 2023-11-21 16:32:44 +02:00
drm_exec_test.c
drm_format_helper_test.c drm/format-helper: Pass format-conversion state to helpers 2023-11-14 10:16:53 +01:00
drm_format_test.c
drm_framebuffer_test.c
drm_gem_shmem_test.c drm/test: add a test suite for GEM objects backed by shmem 2023-12-04 09:32:25 +01:00
drm_kunit_helpers.c drm/tests: Fix kunit_release_action ctx argument 2023-09-30 12:13:05 -03:00
drm_managed_test.c
drm_mm_test.c drm/tests: Remove slow tests 2023-11-09 14:42:24 +01:00
drm_modes_test.c
drm_plane_helper_test.c
drm_probe_helper_test.c
drm_rect_test.c
Makefile drm/test: add a test suite for GEM objects backed by shmem 2023-12-04 09:32:25 +01:00