[igt-dev] [PATCH i-g-t 3/3] tests/kms_ccs: Test the XYUV8888 format as well
Imre Deak
imre.deak at intel.com
Sat May 1 01:50:44 UTC 2021
In addition to the rest of packed YUV formats add a subtest for XYUV8888
as well, for a coverage of calculations for 32bpp YUV formats.
Signed-off-by: Imre Deak <imre.deak at intel.com>
---
tests/kms_ccs.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/kms_ccs.c b/tests/kms_ccs.c
index 30e0fdb54..35f3904ae 100644
--- a/tests/kms_ccs.c
+++ b/tests/kms_ccs.c
@@ -80,6 +80,7 @@ static const struct {
};
static const uint32_t formats[] = {
+ DRM_FORMAT_XYUV8888,
DRM_FORMAT_XRGB8888,
DRM_FORMAT_YUYV,
DRM_FORMAT_NV12,
@@ -90,7 +91,7 @@ static const uint32_t formats[] = {
static const struct {
uint64_t modifier;
const char *str;
-} ccs_modifiers[5] = {
+} ccs_modifiers[] = {
{LOCAL_I915_FORMAT_MOD_Y_TILED_CCS, "LOCAL_I915_FORMAT_MOD_Y_TILED_CCS"},
{LOCAL_I915_FORMAT_MOD_Yf_TILED_CCS, "LOCAL_I915_FORMAT_MOD_Yf_TILED_CCS"},
{LOCAL_I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS, "LOCAL_I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS"},
--
2.27.0
More information about the igt-dev
mailing list