summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>2016-05-10 15:47:25 -0700
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>2016-05-24 18:45:45 -0700
commita5bacd146324586685a71a256f91463ed4a4bbc8 (patch)
tree386846da5877ea89409ec782cd7b5d3bb40b867d
parentadc7e03ad59404362141093ae93b091c58bb1018 (diff)
Use DRM_FORMAT_RGB332 for dma-buf import failure test
DRM_FORMAT_YUYV now succeeds.
-rw-r--r--tests/spec/ext_image_dma_buf_import/intel_unsupported_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spec/ext_image_dma_buf_import/intel_unsupported_format.c b/tests/spec/ext_image_dma_buf_import/intel_unsupported_format.c
index 7966291b4..69bb2674e 100644
--- a/tests/spec/ext_image_dma_buf_import/intel_unsupported_format.c
+++ b/tests/spec/ext_image_dma_buf_import/intel_unsupported_format.c
@@ -45,7 +45,7 @@ create_image(unsigned w, unsigned h, int fd, unsigned stride, unsigned offset)
EGLint attr[] = {
EGL_WIDTH, w,
EGL_HEIGHT, h,
- EGL_LINUX_DRM_FOURCC_EXT, DRM_FORMAT_YUYV,
+ EGL_LINUX_DRM_FOURCC_EXT, DRM_FORMAT_RGB332,
EGL_DMA_BUF_PLANE0_FD_EXT, fd,
EGL_DMA_BUF_PLANE0_OFFSET_EXT, offset,
EGL_DMA_BUF_PLANE0_PITCH_EXT, stride,