summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/modetest/buffers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/modetest/buffers.c b/tests/modetest/buffers.c
index 6f5feabd..7e214e85 100644
--- a/tests/modetest/buffers.c
+++ b/tests/modetest/buffers.c
@@ -1162,6 +1162,8 @@ bo_create(int fd, unsigned int format,
switch (format) {
case DRM_FORMAT_NV12:
case DRM_FORMAT_NV21:
+ case DRM_FORMAT_YUV420:
+ case DRM_FORMAT_YVU420:
virtual_height = height * 3 / 2;
break;