Skip to contentSkip to conversation

kms_universal_plane: subtest for yuv pixel format in primary plane

PATCH New Kumar, Mahesh 1 participant 1 message Aug 20, 2015 1 message not in the archive Library code

lore
Share & tools
lore
#1 lore raw

PATCH v2 1/1 kms_universal_plane: subtest for yuv pixel format in primary plane

In reply to a message not in the archive

This test commit YUV framebuffer in primay plane. I'm using empty FB, because this fulfills the purpose of testing YUV.

V2: Revert chnages for MAX_PLANE count as per nabendu's comment. These changes are already floating for review.

---
 lib/igt_fb.c                |  4 +++
 tests/kms_universal_plane.c | 82 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)
lib/igt_fb.c +4 -0
index 134dbd2..e570bfa 100644
@@ -66,6 +66,10 @@ static struct format_desc_struct {
 	DF(XRGB8888,	RGB24,		32, 24),
 	DF(XRGB2101010,	RGB30,		32, 30),
 	DF(ARGB8888,	ARGB32,		32, 32),
+	DF(YUYV,	INVALID,	16, 16),
+	DF(YVYU,	INVALID,	16, 16),
+	DF(UYVY,	INVALID,	16, 16),
+	DF(VYUY,	INVALID,	16, 16),
 };
 #undef DF
 
tests/kms_universal_plane.c +82 -0

100 lines not on this page · raw message

Signature · 6 lines
1.9.1

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx