summaryrefslogtreecommitdiff
path: root/tests/kms_plane.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2021-07-16 13:29:27 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2021-11-11 19:50:50 +0200
commit1c70b17877974491273ac3fb1de93ba75309df79 (patch)
treee6f418bc246652a7010a732eb03efef7c06a98a1 /tests/kms_plane.c
parentc930bc184cb8072d4d0311a4127dc781926a8335 (diff)
tests/kms_plane: Use single colors during extended test
Sometimes it's nice to checks which colors are actually different. So let's make the extended test always use single colors. Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tests/kms_plane.c')
-rw-r--r--tests/kms_plane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index aa4ea03b..137f23a8 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,