mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
![]() 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> |
||
---|---|---|
.. | ||
.kunitconfig | ||
drm_buddy_test.c | ||
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_exec_test.c | ||
drm_format_helper_test.c | ||
drm_format_test.c | ||
drm_framebuffer_test.c | ||
drm_gem_shmem_test.c | ||
drm_hdmi_state_helper_test.c | ||
drm_kunit_edid.h | ||
drm_kunit_helpers.c | ||
drm_managed_test.c | ||
drm_mm_test.c | ||
drm_modes_test.c | ||
drm_plane_helper_test.c | ||
drm_probe_helper_test.c | ||
drm_rect_test.c | ||
Makefile |