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 31C5D10E3C9 for ; Wed, 17 May 2023 06:39:38 +0000 (UTC) From: Bhanuprakash Modem Date: Wed, 17 May 2023 12:02:37 +0530 Message-Id: <20230517063323.4146387-36-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 35/81] tests/kms_atomic_interruptible: 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_atomic_interruptible.c | 50 ++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/tests/kms_atomic_interruptible.c b/tests/kms_atomic_interruptible.c index 74b2e246a..be28127d8 100644 --- a/tests/kms_atomic_interruptible.c +++ b/tests/kms_atomic_interruptible.c @@ -21,6 +21,11 @@ * IN THE SOFTWARE. */ +/** + * TEST: kms atomic interruptible + * Category: Display + * Description: Tests that interrupt various atomic ioctls. + */ #include #include "igt.h" @@ -74,6 +79,51 @@ static drmEventContext drm_events = { .page_flip_handler = ev_page_flip }; +/** + * SUBTEST: %s-setmode + * Description: Tests the interrupt properties of %arg[1] modeset + * Driver requirement: any + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * arg[1]: + * + * @atomic: atomic + * @legacy: legacy + */ + +/** + * SUBTEST: legacy-%s + * Description: Tests the interrupt properties for %arg[1] + * Driver requirement: any + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * arg[1]: + * + * @cursor: Cursor + * @dpms: DPMS + * @pageflip: Page flip + */ + +/** + * SUBTEST: universal-setplane-%s + * Description: Tests the interrupt properties for %arg[1] + * Driver requirement: any + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * arg[1]: + * + * @cursor: Cursor plane + * @primary: Primary plane + */ static void run_plane_test(igt_display_t *display, enum pipe pipe, igt_output_t *output, enum plane_test_type test_type, unsigned plane_type) { -- 2.40.0