From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5F24D10E257 for ; Tue, 15 Aug 2023 16:58:02 +0000 (UTC) From: Bhanuprakash Modem To: igt-dev@lists.freedesktop.org Date: Tue, 15 Aug 2023 22:18:12 +0530 Message-Id: <20230815164815.320904-79-bhanuprakash.modem@intel.com> In-Reply-To: <20230815164815.320904-1-bhanuprakash.modem@intel.com> References: <20230815164815.320904-1-bhanuprakash.modem@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [i-g-t V7 78/81] tests/kms_vrr: 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. V2: - Fix the functionality V3: - Driver requirement: s/any/i915, xe/ Cc: Swati Sharma Signed-off-by: Bhanuprakash Modem Reviewed-by: Swati Sharma --- tests/kms_vrr.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/tests/kms_vrr.c b/tests/kms_vrr.c index 6a766bfb9..d7ede6513 100644 --- a/tests/kms_vrr.c +++ b/tests/kms_vrr.c @@ -24,6 +24,54 @@ #include "sw_sync.h" #include #include +/** + * TEST: kms vrr + * Category: Display + * Description: Test to validate diffent features of VRR + * + * SUBTEST: flip-basic + * Description: Tests that VRR is enabled and that the difference between flip + * timestamps converges to the requested rate + * Driver requirement: i915, xe + * Functionality: adaptive_sync + * Mega feature: VRR + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flip-dpms + * Description: Tests with DPMS that VRR is enabled and that the difference + * between flip timestamps converges to the requested rate. + * Driver requirement: i915, xe + * Functionality: adaptive_sync, dpms + * Mega feature: VRR + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flip-suspend + * Description: Tests that VRR is enabled and that the difference between flip + * timestamps converges to the requested rate in a suspend test + * Driver requirement: i915, xe + * Functionality: adaptive_sync, suspend + * Mega feature: VRR + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: flipline + * Description: Make sure that flips happen at flipline decision boundary. + * Driver requirement: i915, xe + * Functionality: adaptive_sync + * Mega feature: VRR + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: negative-basic + * Description: Make sure that VRR should not be enabled on the Non-VRR panel. + * Driver requirement: i915, xe + * Functionality: adaptive_sync + * Mega feature: VRR + * Run type: FULL + * Test category: functionality test + */ #define NSECS_PER_SEC (1000000000ull) -- 2.40.0