mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
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:
committed by
Dom Cobley
parent
d9351519a0
commit
c35f87f9c5
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user