1 // SPDX-License-Identifier: GPL-2.0
3 #include <drm/drm_kunit_helpers.h>
4 #include <drm/drm_plane.h>
6 #include <kunit/test.h>
10 struct drm_plane *vc4_dummy_plane(struct kunit *test, struct drm_device *drm,
11 enum drm_plane_type type)
13 struct drm_plane *plane;
15 KUNIT_ASSERT_EQ(test, type, DRM_PLANE_TYPE_PRIMARY);
17 plane = drm_kunit_helper_create_primary_plane(test, drm,
22 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, plane);