From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id EE35D6E89B for ; Thu, 9 Sep 2021 15:31:26 +0000 (UTC) From: Ville Syrjala Date: Thu, 9 Sep 2021 18:30:47 +0300 Message-Id: <20210909153047.16729-12-ville.syrjala@linux.intel.com> In-Reply-To: <20210909153047.16729-1-ville.syrjala@linux.intel.com> References: <20210909153047.16729-1-ville.syrjala@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t v2 11/11] tests/kms_plane: Use single colors during extended test List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: igt-dev@lists.freedesktop.org List-ID: From: Ville Syrjälä 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ä --- 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