[igt-dev] [PATCH i-g-t 09/10] tests/kms_ccs: Test YUV formats too

Imre Deak imre.deak at intel.com
Mon Dec 30 03:40:39 UTC 2019


Enable testing of packed and semiplanar YUV formats for better coverage
of the display's media decompression functionality.

Cc: Mika Kahola <mika.kahola at intel.com>
Signed-off-by: Imre Deak <imre.deak at intel.com>
---
 tests/kms_ccs.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/kms_ccs.c b/tests/kms_ccs.c
index a86a3470..9e5bb559 100644
--- a/tests/kms_ccs.c
+++ b/tests/kms_ccs.c
@@ -75,6 +75,10 @@ static const struct {
 
 static const uint32_t formats[] = {
 	DRM_FORMAT_XRGB8888,
+	DRM_FORMAT_YUYV,
+	DRM_FORMAT_NV12,
+	DRM_FORMAT_P012,
+	DRM_FORMAT_P016,
 };
 
 static const uint64_t ccs_modifiers[] = {
-- 
2.23.1



More information about the igt-dev mailing list