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 3BE3D10E3C6 for ; Wed, 17 May 2023 06:39:13 +0000 (UTC) From: Bhanuprakash Modem Date: Wed, 17 May 2023 12:02:22 +0530 Message-Id: <20230517063323.4146387-21-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 20/81] tests/i915/kms_flip_scaled_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" 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/i915/kms_flip_scaled_crc.c | 191 +++++++++++++++++++++++++++++++ 1 file changed, 191 insertions(+) diff --git a/tests/i915/kms_flip_scaled_crc.c b/tests/i915/kms_flip_scaled_crc.c index f5dc430e3..6768926b0 100644 --- a/tests/i915/kms_flip_scaled_crc.c +++ b/tests/i915/kms_flip_scaled_crc.c @@ -22,8 +22,199 @@ * */ +/** + * TEST: kms flip scaled crc + * Category: Display + * Description: Test flipping between scaled/nonscaled framebuffers + */ #include "igt.h" +/** + * SUBTEST: flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling + * Description: Flip from 64bpp non scaled fb to 32bpp upscaled fb to stress CD + * clock programming + * Driver requirement: i915 + * Functionality: vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flip-64bpp-ytile-to-32bpp-ytilercccs-downscaling + * Description: Flip from 64bpp non scaled fb to 32bpp downscaled fb to stress CD + * clock programming + * Driver requirement: i915 + * Functionality: vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flip-32bpp-linear-to-64bpp-linear-%s + * Description: Flip from 32bpp non scaled fb to 64bpp %arg[1] fb to stress CD + * clock programming + * Driver requirement: any + * Functionality: vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-%s + * Description: Flip from 32bpp non scaled fb to 32bpp %arg[1] fb to stress CD + * clock programming + * Driver requirement: i915 + * Functionality: vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flip-32bpp-4tile-to-64bpp-4tile-%s + * Description: Flip from 32bpp non scaled fb to 64bpp %arg[1] fb to stress CD + * clock programming + * Driver requirement: i915 + * Functionality: vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flip-32bpp-xtile-to-64bpp-xtile-%s + * Description: Flip from 32bpp non scaled fb to 64bpp %arg[1] fb to stress CD + * clock programming + * Driver requirement: i915 + * Functionality: vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flip-32bpp-yftile-to-32bpp-yftileccs-%s + * Description: Flip from 32bpp non scaled fb to 32bpp %arg[1] fb to stress CD + * clock programming + * Driver requirement: i915 + * Functionality: vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flip-32bpp-yftile-to-64bpp-yftile-%s + * Description: Flip from 32bpp non scaled fb to 64bpp %arg[1] fb to stress CD + * clock programming + * Driver requirement: i915 + * Functionality: vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flip-32bpp-yftileccs-to-64bpp-yftile-%s + * Description: Flip from 32bpp non scaled fb to 64bpp %arg[1] fb to stress CD + * clock programming + * Driver requirement: i915 + * Functionality: vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flip-32bpp-ytile-to-32bpp-ytileccs-%s + * Description: Flip from 32bpp non scaled fb to 32bpp %arg[1] fb to stress CD + * clock programming + * Driver requirement: i915 + * Functionality: vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-%s + * Description: Flip from 32bpp non scaled fb to 32bpp %arg[1] fb to stress CD + * clock programming + * Driver requirement: i915 + * Functionality: vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flip-32bpp-ytile-to-64bpp-ytile-%s + * Description: Flip from 32bpp non scaled fb to 64bpp %arg[1] fb to stress CD + * clock programming + * Driver requirement: i915 + * Functionality: vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flip-32bpp-ytileccs-to-64bpp-ytile-%s + * Description: Flip from 32bpp non scaled fb to 64bpp %arg[1] fb to stress CD + * clock programming + * Driver requirement: i915 + * Functionality: vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-%s + * Description: Flip from 64bpp non scaled fb to 32bpp %arg[1] fb to stress CD + * clock programming + * Driver requirement: i915 + * Functionality: vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * arg[1]: + * + * @downscaling: Downscaled + * @upscaling: Upscaled + */ + +/** + * SUBTEST: flip-64bpp-4tile-to-%dbpp-4tile-%s + * Description: Flip from 64bpp non scaled fb to %arg[1]bpp %arg[2] fb to stress + * CD clock programming + * Driver requirement: i915 + * Functionality: vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flip-64bpp-xtile-to-%dbpp-xtile-%s + * Description: Flip from 64bpp non scaled fb to %arg[1]bpp %arg[2] fb to stress + * CD clock programming + * Driver requirement: i915 + * Functionality: vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flip-64bpp-yftile-to-%dbpp-yftile-%s + * Description: Flip from 64bpp non scaled fb to %arg[1]bpp %arg[2] fb to stress + * CD clock programming + * Driver requirement: i915 + * Functionality: vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flip-64bpp-ytile-to-%dbpp-ytile-%s + * Description: Flip from 64bpp non scaled fb to %arg[1]bpp %arg[2] fb to stress + * CD clock programming + * Driver requirement: i915 + * Functionality: vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flip-64bpp-linear-to-%dbpp-linear-%s + * Description: Flip from 64bpp non scaled fb to %arg[1]bpp %arg[2] fb to stress + * CD clock programming + * Driver requirement: any + * Functionality: vblank + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * arg[1].values: 16, 32 + * arg[2]: + * + * @downscaling: Downscaled + * @upscaling: Upscaled + */ + IGT_TEST_DESCRIPTION("Test flipping between scaled/nonscaled framebuffers"); typedef struct { -- 2.40.0