Re: [PATCH 06/24] drm/tests: kunit: Allow for a custom device struct to be allocated

Javier Martinez Canillas
2022-11-25T10:47:26Z

> The current helper to allocate a DRM device doesn't allow for any
> subclassing by drivers, which is going to be troublesome as we work on
> getting some kunit testing on atomic modesetting code.
>
> Let's use a similar pattern to the other allocation helpers by providing
> the structure size and offset as arguments.