[Intel-gfx] [PATCH i-g-t 1/2] lib/igt_fb: Add support for DRM_FORMAT_C8 format

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Tue Nov 14 14:58:34 UTC 2017


DRM_FORMAT_C8 is needed for kms_rotation_crc test

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
---
 lib/igt_fb.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/igt_fb.c b/lib/igt_fb.c
index d4eaed7..00d52f7 100644
--- a/lib/igt_fb.c
+++ b/lib/igt_fb.c
@@ -67,6 +67,7 @@ static struct format_desc_struct {
 	DF(XRGB8888,	RGB24,		32, 24),
 	DF(XRGB2101010,	RGB30,		32, 30),
 	DF(ARGB8888,	ARGB32,		32, 32),
+	DF(C8,		A8,		 8,  8),
 };
 #undef DF
 
-- 
2.7.4



More information about the Intel-gfx mailing list