Skip to content

Commit 7d0c024

Browse files
mripardpopcornmix
authored andcommitted
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>
1 parent 8172e20 commit 7d0c024

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/gpu/drm/vc4/tests/vc4_mock_plane.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ static const struct drm_plane_funcs vc4_dummy_plane_funcs = {
1919
};
2020

2121
static const uint32_t vc4_dummy_plane_formats[] = {
22+
DRM_FORMAT_ARGB8888,
2223
DRM_FORMAT_XRGB8888,
24+
DRM_FORMAT_YUV420,
25+
DRM_FORMAT_YUV422,
2326
};
2427

2528
struct drm_plane *vc4_dummy_plane(struct kunit *test, struct drm_device *drm,

0 commit comments

Comments
 (0)