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 C745F10E181 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:13 +0530 Message-Id: <20230515081720.3713293-13-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 12/79] tests/i915/kms_busy: 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_busy.c | 62 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/tests/i915/kms_busy.c b/tests/i915/kms_busy.c index 20d3058fb..94590c86e 100644 --- a/tests/i915/kms_busy.c +++ b/tests/i915/kms_busy.c @@ -21,6 +21,11 @@ * IN THE SOFTWARE. */ +/** + * TEST: kms busy + * Category: Display + * Description: Basic check of KMS ABI with busy framebuffers. + */ #include #include #include @@ -131,6 +136,23 @@ static void flip_to_fb(igt_display_t *dpy, int pipe, put_ahnd(ahnd); } +/** + * SUBTEST: basic + * Description: Test for basic check of KMS ABI with busy framebuffers. + * Driver requirement: i915 + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: basic-hang + * Description: Test for basic check of KMS ABI with busy framebuffers. + * Driver requirement: i915 + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + */ static void test_flip(igt_display_t *dpy, int pipe, igt_output_t *output, bool modeset) { @@ -223,6 +245,37 @@ static void test_atomic_commit_hang(igt_display_t *dpy, igt_plane_t *primary, put_ahnd(ahnd); } +/** + * SUBTEST: extended-modeset-hang-%s + * Description: Test for basic check of KMS ABI with busy framebuffers. + * Driver requirement: i915 + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * arg[1]: + * + * @newfb: New framebuffer + * @oldfb: Old framebuffer + * @newfb-with-reset: New framebuffer with reset + * @oldfb-with-reset: Old framebuffer with reset + */ + +/** + * SUBTEST: extended-pageflip-hang-%s + * Description: Test for basic check of KMS ABI with busy framebuffers. + * Driver requirement: i915 + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * arg[1]: + * + * @newfb: New framebuffer + * @oldfb: Old framebuffer + */ static void test_hang(igt_display_t *dpy, enum pipe pipe, igt_output_t *output, bool modeset, bool hang_newfb) @@ -270,6 +323,15 @@ static void test_hang(igt_display_t *dpy, igt_remove_fb(dpy->drm_fd, &fb[0]); } +/** + * SUBTEST: extended-pageflip-modeset-hang-oldfb + * Description: Test for basic check of KMS ABI with busy framebuffers. + * Driver requirement: i915 + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + */ static void test_pageflip_modeset_hang(igt_display_t *dpy, igt_output_t *output, enum pipe pipe) -- 2.40.0