2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/tests
Carlos Eduardo Gallo Filho 96d068ea0d
drm/tests: Stop using deprecated dev_private member on drm_framebuffer tests
The dev_private member of drm_device is deprecated and its use should
be avoided. Stop using it by embedding the drm_device onto a mock struct.

The new mock struct allows to share variables and even further mocks
over the tests in a cleaner way than using dev_private void pointer.

Also start using drm_kunit_helper_alloc_drm_device() for allocating
the drm_device mock.

Signed-off-by: Carlos Eduardo Gallo Filho <gcarlos@disroot.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240911001559.28284-2-gcarlos@disroot.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
2024-09-11 14:16:59 +02:00
..
.kunitconfig
drm_buddy_test.c drm-misc-next for 6.11: 2024-06-21 10:50:04 +10:00
drm_client_modeset_test.c drm/tests: client-modeset: Remove call to drm_kunit_helper_free_device() 2023-07-31 14:19:57 +02:00
drm_cmdline_parser_test.c drm/tests: Add tests for the new Monochrome value of tv_mode 2024-07-01 11:50:19 +02:00
drm_connector_test.c drm/tests: Add tests for the new Monochrome value of tv_mode 2024-07-01 11:50:19 +02:00
drm_damage_helper_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_dp_mst_helper_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_exec_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
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/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_framebuffer_test.c drm/tests: Stop using deprecated dev_private member on drm_framebuffer tests 2024-09-11 14:16:59 +02:00
drm_gem_shmem_test.c Linux 6.11-rc5 2024-08-27 14:09:45 +02:00
drm_hdmi_state_helper_test.c drm/tests: add drm_hdmi_state_helper_test MODULE_DESCRIPTION() 2024-06-20 10:15:41 +02:00
drm_kunit_edid.h drm/tests: Add HDMI connector bpc and format tests 2024-05-28 10:24:36 +02:00
drm_kunit_helpers.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_managed_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_mm_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_modes_test.c drm/tests: Add tests for the new Monochrome value of tv_mode 2024-07-01 11:50:19 +02:00
drm_plane_helper_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_probe_helper_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
drm_rect_test.c drm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-10 10:32:48 +02:00
Makefile drm/tests: Add output bpc tests 2024-05-28 10:09:38 +02:00