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 7EE7A10E17E for ; Mon, 15 May 2023 08:22:56 +0000 (UTC) From: Bhanuprakash Modem To: igt-dev@lists.freedesktop.org Date: Mon, 15 May 2023 13:46:16 +0530 Message-Id: <20230515081720.3713293-16-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 15/79] tests/i915/kms_draw_crc: 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_draw_crc.c | 71 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 69 insertions(+), 2 deletions(-) diff --git a/tests/i915/kms_draw_crc.c b/tests/i915/kms_draw_crc.c index db6d71f2e..d6694faee 100644 --- a/tests/i915/kms_draw_crc.c +++ b/tests/i915/kms_draw_crc.c @@ -22,11 +22,78 @@ * */ -/* This program tests whether the igt_draw library actually works. */ - +/** + * TEST: kms draw crc + * Category: Display + * Description: Tests whether the igt_draw library actually works. + */ #include "i915/gem.h" #include "igt.h" +/** + * SUBTEST: draw-method-blt + * Description: Verify that igt draw library works for the BLIT method with + * different modifiers & DRM formats. + * Driver requirement: any + * Functionality: kms_gem_interop + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: draw-method-mmap-cpu + * Description: Verify that igt draw library works for the MMAP-CPU method with + * different modifiers & DRM formats. + * Driver requirement: i915 + * Functionality: kms_gem_interop + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: draw-method-mmap-gtt + * Description: Verify that igt draw library works for the MMAP-GTT method with + * different modifiers & DRM formats. + * Driver requirement: i915 + * Functionality: gtt, kms_gem_interop + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: draw-method-mmap-wc + * Description: Verify that igt draw library works for the MMAP-WC method with + * different modifiers & DRM formats. + * Driver requirement: any + * Functionality: kms_gem_interop + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: draw-method-pwrite + * Description: Verify that igt draw library works for the PWRITE method with + * different modifiers & DRM formats. + * Driver requirement: i915 + * Functionality: kms_gem_interop + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: draw-method-render + * Description: Verify that igt draw library works for the RENDER method with + * different modifiers & DRM formats. + * Driver requirement: any + * Functionality: kms_gem_interop + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: fill-fb + * Description: This subtest verifies CRC after filling fb with x-tiling or none. + * Driver requirement: i915 + * Functionality: kms_gem_interop + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + */ + #define MAX_CONNECTORS 32 int drm_fd; -- 2.40.0