projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35d5d93
)
drm/vc4: tests: Support a few more plane formats
author
Maxime Ripard
<maxime@cerno.tech>
Fri, 14 Apr 2023 10:59:05 +0000
(12:59 +0200)
committer
Dom Cobley
<popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:00 +0000
(11:35 +0000)
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>
drivers/gpu/drm/vc4/tests/vc4_mock_plane.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vc4/tests/vc4_mock_plane.c
b/drivers/gpu/drm/vc4/tests/vc4_mock_plane.c
index
e1bdcb8
..
d508369
100644
(file)
--- a/
drivers/gpu/drm/vc4/tests/vc4_mock_plane.c
+++ b/
drivers/gpu/drm/vc4/tests/vc4_mock_plane.c
@@
-21,7
+21,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 vc4_dummy_plane *vc4_dummy_plane(struct kunit *test,