[igt-dev] [PATCH i-g-t 16/16] tests/kms_plane: Use single colors during extended test
Ville Syrjala
ville.syrjala at linux.intel.com
Fri Jul 16 14:44:42 UTC 2021
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
Sometimes it's nice to checks which colors are actually different.
So let's make the extended test always use single colors.
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
tests/kms_plane.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index 760df5d7d334..f1a94b2c54c4 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -721,7 +721,7 @@ restart_round:
static bool use_multiple_colors(data_t *data, uint32_t format)
{
- return igt_format_is_yuv_semiplanar(format);
+ return data->extended || igt_format_is_yuv_semiplanar(format);
}
static bool test_format_plane_colors(data_t *data, enum pipe pipe,
--
2.31.1
More information about the igt-dev
mailing list