[PATCH v4 06/15] drm/tests: Create tests for drm_atomic

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Wed Feb 26 06:40:10 UTC 2025


On Tue, Feb 25, 2025 at 05:43:54PM +0100, Maxime Ripard wrote:
> We don't have a set of kunit tests for the functions under drm_atomic.h.
> Let's use the introduction of drm_atomic_get_connector_for_encoder() to
> create some tests for it and thus create that set.
> 
> Signed-off-by: Maxime Ripard <mripard at kernel.org>
> ---
>  drivers/gpu/drm/tests/Makefile          |   1 +
>  drivers/gpu/drm/tests/drm_atomic_test.c | 153 ++++++++++++++++++++++++++++++++
>  2 files changed, 154 insertions(+)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>

-- 
With best wishes
Dmitry


More information about the dri-devel mailing list