Re: [PATCH 03/24] drm/tests: helpers: Create the device in another function

2022-11-25 Thread Javier Martinez Canillas
On 11/23/22 16:25, Maxime Ripard wrote: > We'll need in some tests to control when the device needs to be added > and removed, so let's split the device creation from the DRM device > creation function. > > Signed-off-by: Maxime Ripard > --- [...] > -static int dev_init(struct kunit_resource *r

[PATCH 03/24] drm/tests: helpers: Create the device in another function

2022-11-23 Thread Maxime Ripard
We'll need in some tests to control when the device needs to be added and removed, so let's split the device creation from the DRM device creation function. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/tests/drm_client_modeset_test.c | 14 +- drivers/gpu/drm/tests/drm_kunit_helpe