From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 12D0B10E3DB for ; Wed, 17 May 2023 06:40:47 +0000 (UTC) From: Bhanuprakash Modem Date: Wed, 17 May 2023 12:03:21 +0530 Message-Id: <20230517063323.4146387-80-bhanuprakash.modem@intel.com> In-Reply-To: <20230517063323.4146387-1-bhanuprakash.modem@intel.com> References: <20230517063323.4146387-1-bhanuprakash.modem@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [i-g-t V2 79/81] tests/kms_writeback: 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" To: igt-dev@lists.freedesktop.org, mchehab@kernel.org List-ID: Add documentation for all kms tests which is used by IGT testplan documentation. Signed-off-by: Bhanuprakash Modem --- tests/kms_writeback.c | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/tests/kms_writeback.c b/tests/kms_writeback.c index c4808b02c..ee3c5dba1 100644 --- a/tests/kms_writeback.c +++ b/tests/kms_writeback.c @@ -32,6 +32,48 @@ #include "igt_core.h" #include "igt_fb.h" #include "sw_sync.h" +/** + * TEST: kms writeback + * Category: Display + * Description: This test validates the expected behavior of the writeback + * connectors feature by checking if the target device support + * writeback; it validates bad and good combination, check color + * format, and check the output result by using CRC. + * + * SUBTEST: writeback-check-output + * Description: Check writeback output with CRC validation + * Driver requirement: any + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: writeback-fb-id + * Description: Validate WRITEBACK_FB_ID with valid and invalid options + * Driver requirement: any + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: writeback-invalid-parameters + * Description: Writeback has a couple of parameters linked together(output + * framebuffer and fence); this test goes throughthe combination + * of possible bad options + * Driver requirement: any + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: writeback-pixel-formats + * Description: Check the writeback format + * Driver requirement: any + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + */ IGT_TEST_DESCRIPTION( "This test validates the expected behavior of the writeback connectors " -- 2.40.0