From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id F30A610E10D for ; Mon, 14 Aug 2023 06:26:27 +0000 (UTC) Message-ID: Date: Mon, 14 Aug 2023 11:56:23 +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-54-bhanuprakash.modem@intel.com> From: "Sharma, Swati2" In-Reply-To: <20230811184655.157060-54-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 53/81] tests/kms_invalid_mode: 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 test description > > Cc: Swati Sharma > Signed-off-by: Bhanuprakash Modem > --- > tests/kms_invalid_mode.c | 32 ++++++++++++++++++++++++++++++++ > 1 file changed, 32 insertions(+) > > diff --git a/tests/kms_invalid_mode.c b/tests/kms_invalid_mode.c > index c26f8befe..c5714c97d 100644 > --- a/tests/kms_invalid_mode.c > +++ b/tests/kms_invalid_mode.c > @@ -22,10 +22,42 @@ > * > */ > > +/** > + * TEST: kms invalid mode > + * Category: Display > + * Description: Make sure all modesets are rejected when the requested mode is > + * invalid > + */ > #include "igt.h" > #include > #include > > +/** > + * SUBTEST: %s > + * Description: Make sure all modesets are rejected when the requested mode > + * (%arg[1]) is invalid > + * Driver requirement: any > + * Functionality: kms_core > + * Mega feature: General Display Features > + * Run type: FULL > + * Test category: functionality test > + * > + * arg[1]: > + * > + * @bad-hsync-end: Bad hsync_end > + * @bad-hsync-start: Bad hsync_start > + * @bad-htotal: Bad htotal > + * @bad-vsync-end: Bad vsync_end > + * @bad-vsync-start: Bad vsync_start > + * @bad-vtotal: Bad vtotal > + * @clock-too-high: High clock > + * @int-max-clock: Clock as INT_MAX > + * @uint-max-clock: Clock as UINT_MAX > + * @zero-clock: Clock as zero > + * @zero-hdisplay: hdisplay as zero > + * @zero-vdisplay: vdisplay as zero > + */ > + > IGT_TEST_DESCRIPTION("Make sure all modesets are rejected when the requested mode is invalid"); > > typedef struct _data data_t;