linux-stable/drivers/gpu/drm/tests
Maxime Ripard a9143c5852
drm/tests: helpers: Allow for a custom device struct to be allocated
The current helper to allocate a DRM device doesn't allow for any
subclassing by drivers, which is going to be troublesome as we work on
getting some kunit testing on atomic modesetting code.

Let's use a similar pattern to the other allocation helpers by providing
the structure size and offset as arguments.

Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20221123-rpi-kunit-tests-v3-10-4615a663a84a@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
2022-12-08 09:56:55 +01:00
..
.kunitconfig
drm_buddy_test.c drm/tests: Add back seed value information 2022-11-02 09:22:47 -03:00
drm_client_modeset_test.c drm/tests: helpers: Allow for a custom device struct to be allocated 2022-12-08 09:56:55 +01:00
drm_cmdline_parser_test.c drm/modes: Introduce the tv_mode property as a command-line option 2022-11-24 12:42:39 +01:00
drm_connector_test.c drm/connector: Add a function to lookup a TV mode by its name 2022-11-24 12:42:39 +01:00
drm_damage_helper_test.c drm/tests: Change "igt_" prefix to "drm_test_" 2022-09-14 13:53:33 -03:00
drm_dp_mst_helper_test.c drm/tests: Split drm_test_dp_mst_sideband_msg_req_decode into parameterized tests 2022-10-16 14:47:53 -03:00
drm_format_helper_test.c drm: tests: Fix a buffer overflow in format_helper_test 2022-10-20 09:56:05 +02:00
drm_format_test.c drm/tests: Change "igt_" prefix to "drm_test_" 2022-09-14 13:53:33 -03:00
drm_framebuffer_test.c drm/tests: Split drm_framebuffer_create_test into parameterized tests 2022-09-14 13:53:33 -03:00
drm_kunit_helpers.c drm/tests: helpers: Allow for a custom device struct to be allocated 2022-12-08 09:56:55 +01:00
drm_mm_test.c drm/tests: Add back seed value information 2022-11-02 09:22:47 -03:00
drm_modes_test.c drm/tests: helpers: Allow for a custom device struct to be allocated 2022-12-08 09:56:55 +01:00
drm_plane_helper_test.c drm/plane_helper: Split into parameterized test cases 2022-10-20 08:13:30 -03:00
drm_probe_helper_test.c drm/tests: helpers: Allow for a custom device struct to be allocated 2022-12-08 09:56:55 +01:00
drm_rect_test.c drm/tests: Change "igt_" prefix to "drm_test_" 2022-09-14 13:53:33 -03:00
Makefile drm/tests: Introduce a config option for the KUnit helpers 2022-12-08 09:41:27 +01:00