[Piglit] [PATCH 2/2] Use DRM_FORMAT_RGB332 for dma-buf import failure test

Kristian Høgsberg hoegsberg at gmail.com
Wed May 11 20:38:57 UTC 2016


From: Kristian Høgsberg Kristensen <kristian.h.kristensen at intel.com>

DRM_FORMAT_YUYV now succeeds.
---
 tests/spec/ext_image_dma_buf_import/intel_unsupported_format.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 7966291..69bb267 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,
-- 
2.5.0



More information about the Piglit mailing list