From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by gabe.freedesktop.org (Postfix) with ESMTPS id 576B210E24E for ; Tue, 21 Nov 2023 08:05:45 +0000 (UTC) From: Bhanuprakash Modem To: igt-dev@lists.freedesktop.org, swati2.sharma@intel.com Date: Tue, 21 Nov 2023 13:24:51 +0530 Message-Id: <20231121075451.2012768-2-bhanuprakash.modem@intel.com> In-Reply-To: <20231121075451.2012768-1-bhanuprakash.modem@intel.com> References: <20231121075451.2012768-1-bhanuprakash.modem@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [i-g-t 2/2] tests/kms_feature_discovery: update display-1x List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: From: Swati Sharma Use same logic to detect 1x display as 2x, 3x and 4x displays. Signed-off-by: Swati Sharma Signed-off-by: Bhanuprakash Modem --- tests/kms_feature_discovery.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/kms_feature_discovery.c b/tests/kms_feature_discovery.c index 81064aa0e..1b192b0bd 100644 --- a/tests/kms_feature_discovery.c +++ b/tests/kms_feature_discovery.c @@ -72,7 +72,7 @@ * Mega feature: General Display Features * Test category: functionality test * - * arg[1].values: 2, 3, 4 + * arg[1].values: 1, 2, 3, 4 */ #include "igt.h" @@ -137,6 +137,11 @@ igt_main { } } + igt_describe("Make sure that we can use at least 1 output at a time."); + igt_subtest("display-1x") { + igt_require(output_count >= 1); + } + igt_describe("Make sure that we can use at least 2 outputs at the same time."); igt_subtest("display-2x") { igt_require(output_count >= 2); -- 2.40.0