drm/vc4: tests: Support a few more plane formats

We'll start testing our planes code in situations where we will use more
than XRGB8888, so let's add a few common pixel formats.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
This commit is contained in:
Maxime Ripard
2023-04-14 12:59:05 +02:00
committed by Dom Cobley
parent d9351519a0
commit c35f87f9c5

View File

@@ -19,7 +19,10 @@ static const struct drm_plane_funcs vc4_dummy_plane_funcs = {
};
static const uint32_t vc4_dummy_plane_formats[] = {
DRM_FORMAT_ARGB8888,
DRM_FORMAT_XRGB8888,
DRM_FORMAT_YUV420,
DRM_FORMAT_YUV422,
};
struct drm_plane *vc4_dummy_plane(struct kunit *test, struct drm_device *drm,