From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9A34E10E17E for ; Mon, 15 May 2023 08:22:55 +0000 (UTC) From: Bhanuprakash Modem To: igt-dev@lists.freedesktop.org Date: Mon, 15 May 2023 13:46:12 +0530 Message-Id: <20230515081720.3713293-12-bhanuprakash.modem@intel.com> In-Reply-To: <20230515081720.3713293-1-bhanuprakash.modem@intel.com> References: <20230515081720.3713293-1-bhanuprakash.modem@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [i-g-t 11/79] tests/i915/kms_big_joiner: 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. Signed-off-by: Bhanuprakash Modem --- tests/i915/kms_big_joiner.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/tests/i915/kms_big_joiner.c b/tests/i915/kms_big_joiner.c index b9dda58f6..acc8476c9 100644 --- a/tests/i915/kms_big_joiner.c +++ b/tests/i915/kms_big_joiner.c @@ -24,6 +24,11 @@ * Karthik B S */ +/** + * TEST: kms big joiner + * Category: Display + * Description: Test big joiner + */ #include "igt.h" #define MAX_HDISPLAY_PER_PIPE 5120 @@ -40,6 +45,16 @@ typedef struct { uint32_t big_joiner_output[2]; } data_t; +/** + * SUBTEST: invalid-modeset + * Description: Verify if the modeset on the adjoining pipe is rejected when + * the pipe is active with a big joiner modeset + * Driver requirement: any + * Functionality: 2p1p + * Mega feature: Bigjoiner + * Run type: FULL + * Test category: functionality test + */ static void test_invalid_modeset(data_t *data) { igt_output_t *output; @@ -80,6 +95,15 @@ static void test_invalid_modeset(data_t *data) igt_assert_lt(ret, 0); } +/** + * SUBTEST: basic + * Description: Verify the basic modeset on big joiner mode on all pipes + * Driver requirement: any + * Functionality: 2p1p + * Mega feature: Bigjoiner + * Run type: FULL + * Test category: functionality test + */ static void test_basic_modeset(data_t *data) { drmModeModeInfo *mode; @@ -118,6 +142,15 @@ static void test_basic_modeset(data_t *data) igt_display_commit2(display, COMMIT_ATOMIC); } +/** + * SUBTEST: 2x-modeset + * Description: Verify simultaneous modeset on 2 big joiner outputs + * Driver requirement: any + * Functionality: 2p1p + * Mega feature: Bigjoiner + * Run type: FULL + * Test category: functionality test + */ static void test_dual_display(data_t *data) { drmModeModeInfo *mode; -- 2.40.0