From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id E0A7E10E706 for ; Fri, 11 Aug 2023 18:56:33 +0000 (UTC) From: Bhanuprakash Modem To: igt-dev@lists.freedesktop.org Date: Sat, 12 Aug 2023 00:16:46 +0530 Message-Id: <20230811184655.157060-73-bhanuprakash.modem@intel.com> In-Reply-To: <20230811184655.157060-1-bhanuprakash.modem@intel.com> References: <20230811184655.157060-1-bhanuprakash.modem@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [i-g-t V6 72/81] tests/kms_setmode: Document each subtest for testplan List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: Add documentation for all kms tests which is used by IGT testplan documentation. V2: - Fix test description Cc: Karthik B S Signed-off-by: Bhanuprakash Modem --- tests/kms_setmode.c | 60 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/tests/kms_setmode.c b/tests/kms_setmode.c index 035bbd0b0..19bda6b26 100644 --- a/tests/kms_setmode.c +++ b/tests/kms_setmode.c @@ -31,6 +31,66 @@ #include #include #include "xe/xe_query.h" +/** + * TEST: kms setmode + * Category: Display + * Description: Tests the mode by iterating through all valid/invalid crtc/connector + * combinations + * + * SUBTEST: basic + * Description: Tests the vblank timing by iterating through all valid crtc/connector + * combinations + * Driver requirement: any + * Functionality: kms_core, vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: basic-clone-single-crtc + * Description: Tests the mode by cloning the single crtc by iterating through all + * valid crtc/connector combinations + * Driver requirement: any + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: clone-exclusive-crtc + * Description: Tests the mode by cloning the single exclusive crtc by iterating + * through all valid crtc/connector combinations + * Driver requirement: any + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: invalid-clone-exclusive-crtc + * Description: Tests the mode by cloning the single exclusive crtc by iterating + * through all invalid crtc/connector combinations + * Driver requirement: any + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: invalid-clone-single-crtc + * Description: Tests the mode by cloning the single crtc by iterating through all + * invalid crtc/connector combinations + * Driver requirement: any + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: invalid-clone-single-crtc-stealing + * Description: Tests the stealing mode by cloning the single crtc by iterating + * through all invalid crtc/connector combinations + * Driver requirement: any + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + */ #define MAX_CONNECTORS 10 #define MAX_CRTCS 6 -- 2.40.0