[PATCH 05/11] drm/tests: helpers: Create an helper to allocate a locking ctx

Javier Martinez Canillas javierm at redhat.com
Wed Jul 19 19:11:36 UTC 2023


Maxime Ripard <mripard at kernel.org> writes:

> As we get more and more tests, the locking context initialisation
> creates more and more boilerplate, both at creation and destruction.
>
> Let's create a helper that will allocate, initialise a context, and
> register kunit actions to clean up once the test is done.
>
> 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