Re: [PATCH v2 09/17] drm/tests: helpers: Allow to pass a custom drm_driver

2022-11-30 Thread Javier Martinez Canillas
On 11/28/22 15:53, Maxime Ripard wrote: > Some tests will need to provide their own drm_driver instead of relying > on the dumb one in the helpers, so let's create a helper that allows to > do so. > > Signed-off-by: Maxime Ripard > --- Reviewed-by: Javier Martinez Canillas -- Best regards, J

[PATCH v2 09/17] drm/tests: helpers: Allow to pass a custom drm_driver

2022-11-28 Thread Maxime Ripard
Some tests will need to provide their own drm_driver instead of relying on the dumb one in the helpers, so let's create a helper that allows to do so. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/tests/drm_kunit_helpers.c | 15 +++-- include/drm/drm_kunit_helpers.h | 51 +++