From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 98C1010E14B for ; Mon, 14 Aug 2023 08:28:52 +0000 (UTC) Message-ID: <187051aa-209a-a7ba-6d23-6a5a05cfc0fe@intel.com> Date: Mon, 14 Aug 2023 13:58:47 +0530 MIME-Version: 1.0 Content-Language: en-US To: Bhanuprakash Modem , igt-dev@lists.freedesktop.org References: <20230811184655.157060-1-bhanuprakash.modem@intel.com> <20230811184655.157060-79-bhanuprakash.modem@intel.com> From: "Sharma, Swati2" In-Reply-To: <20230811184655.157060-79-bhanuprakash.modem@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [igt-dev] [i-g-t V6 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: LGTM Reviewed-by: Swati Sharma On 12-Aug-23 12:16 AM, Bhanuprakash Modem wrote: > Add documentation for all kms tests which is used by IGT testplan > documentation. > > V2: - Fix the functionality > > Cc: Swati Sharma > Signed-off-by: Bhanuprakash Modem > --- > tests/kms_vrr.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 48 insertions(+) > > diff --git a/tests/kms_vrr.c b/tests/kms_vrr.c > index 6a766bfb9..0532023c7 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: any > + * 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: any > + * 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: any > + * 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: any > + * 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: any > + * Functionality: adaptive_sync > + * Mega feature: VRR > + * Run type: FULL > + * Test category: functionality test > + */ > > #define NSECS_PER_SEC (1000000000ull) >