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

Imre Deak
2019-12-30T03:41:24Z

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

Cc: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Imre Deak <imre.deak@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