From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id 04A2210E105 for ; Wed, 9 Aug 2023 20:12:14 +0000 (UTC) Message-ID: <72b45224-e7b5-a945-bc7a-8eccbb16dad3@intel.com> Date: Thu, 10 Aug 2023 01:42:09 +0530 MIME-Version: 1.0 Content-Language: en-US To: Bhanuprakash Modem , igt-dev@lists.freedesktop.org References: <20230629144910.3055377-73-bhanuprakash.modem@intel.com> From: "Gupta, Nidhi1" In-Reply-To: <20230629144910.3055377-73-bhanuprakash.modem@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [igt-dev] [V5, i-g-t, 72/81] tests/kms_sequence: 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: Nidhi Gupta On 6/29/2023 8:19 PM, Bhanuprakash Modem wrote: > Add documentation for all kms tests which is used by IGT testplan > documentation. > > Signed-off-by: Bhanuprakash Modem > --- > tests/kms_sequence.c | 36 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 36 insertions(+) > > diff --git a/tests/kms_sequence.c b/tests/kms_sequence.c > index 1b96f0017..12c3396f5 100644 > --- a/tests/kms_sequence.c > +++ b/tests/kms_sequence.c > @@ -27,6 +27,11 @@ > * This is a test of drmCrtcGetSequence and drmCrtcQueueSequence > */ > > +/** > + * TEST: kms sequence > + * Category: Display > + * Description: Test CrtcGetSequence and CrtcQueueSequence. > + */ > #include "igt.h" > #include > #include > @@ -136,6 +141,37 @@ static int crtc_queue_sequence(int fd, struct drm_crtc_queue_sequence *cqs) > return err; > } > > +/** > + * SUBTEST: get-%s > + * Description: This is a test of drmCrtcGetSequence and drmCrtcQueueSequence > + * Driver requirement: any > + * Functionality: vblank > + * Mega feature: General Display Features > + * Run type: FULL > + * Test category: functionality test > + * > + * arg[1]: > + * > + * @busy: > + * @forked: > + * @forked-busy: > + * @idle: > + */ > + > +/** > + * SUBTEST: queue-%s > + * Description: This is a test of drmCrtcGetSequence and drmCrtcQueueSequence > + * Driver requirement: any > + * Functionality: vblank > + * Mega feature: General Display Features > + * Run type: FULL > + * Test category: functionality test > + * > + * arg[1]: > + * > + * @busy: > + * @idle: > + */ > static void run_test(data_t *data, int fd, void (*testfunc)(data_t *, int, int)) > { > int nchildren = -- ~Nidhi Gupta