[PATCH 08/11] drm/vc4: tests: mock: Use a kunit action to unregister DRM device
Javier Martinez Canillas
javierm at redhat.com
Wed Jul 19 20:03:43 UTC 2023
Maxime Ripard <mripard at kernel.org> writes:
> The *_mock_device functions allocate a DRM device that needs to be
> released using drm_dev_unregister.
>
> Now that we have a kunit release action API, we can switch to it and
> don't require any kind of garbage collection from the caller.
>
> Signed-off-by: Maxime Ripard <mripard at kernel.org>
> ---
Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
More information about the dri-devel
mailing list