Home
last modified time | relevance | path

Searched refs:drm_kunit_helper_alloc_device (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpu/drm/tests/
H A Ddrm_kunit_helpers.c53 * drm_kunit_helper_alloc_device - Allocate a mock device for a KUnit test
67 struct device *drm_kunit_helper_alloc_device(struct kunit *test) in drm_kunit_helper_alloc_device() function
98 EXPORT_SYMBOL_GPL(drm_kunit_helper_alloc_device); variable
105 * Frees a device allocated with drm_kunit_helper_alloc_device().
H A Ddrm_managed_test.c38 dev = drm_kunit_helper_alloc_device(test); in drm_test_managed_run_action()
H A Ddrm_modes_test.c26 priv->dev = drm_kunit_helper_alloc_device(test); in drm_test_modes_init()
H A Ddrm_client_modeset_test.c63 priv->dev = drm_kunit_helper_alloc_device(test); in drm_client_modeset_test_init()
H A Ddrm_probe_helper_test.c43 priv->dev = drm_kunit_helper_alloc_device(test); in drm_probe_helper_test_init()
H A Ddrm_exec_test.c35 priv->dev = drm_kunit_helper_alloc_device(test); in drm_exec_test_init()
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_kunit_helpers.h15 struct device *drm_kunit_helper_alloc_device(struct kunit *test);
34 * @_dev should be allocated using drm_kunit_helper_alloc_device().
79 * @_dev should be allocated using drm_kunit_helper_alloc_device().
/kernel/linux/linux-6.6/drivers/gpu/drm/ttm/tests/
H A Dttm_kunit_helpers.c52 devs->dev = drm_kunit_helper_alloc_device(test); in ttm_test_devices_basic()
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/tests/
H A Dvc4_mock.c172 dev = drm_kunit_helper_alloc_device(test); in __mock_device()

Completed in 4 milliseconds