From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id AA7D210E245 for ; Wed, 9 Aug 2023 08:18:36 +0000 (UTC) Message-ID: <0666fb1d-a881-dd75-906d-411a6beb876a@intel.com> Date: Wed, 9 Aug 2023 13:48:21 +0530 To: Bhanuprakash Modem , References: <20230629144910.3055377-1-bhanuprakash.modem@intel.com> <20230629144910.3055377-69-bhanuprakash.modem@intel.com> Content-Language: en-US From: Karthik B S In-Reply-To: <20230629144910.3055377-69-bhanuprakash.modem@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Subject: Re: [igt-dev] [V5 i-g-t 68/81] tests/kms_rmfb: 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: On 6/29/2023 8:18 PM, Bhanuprakash Modem wrote: > Add documentation for all kms tests which is used by IGT testplan > documentation. > > Signed-off-by: Bhanuprakash Modem Reviewed-by: Karthik B S > --- > tests/kms_rmfb.c | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/tests/kms_rmfb.c b/tests/kms_rmfb.c > index 9a41c1d14..7348251f8 100644 > --- a/tests/kms_rmfb.c > +++ b/tests/kms_rmfb.c > @@ -28,6 +28,30 @@ > #include > #include > #include > +/** > + * TEST: kms rmfb > + * Category: Display > + * Description: This tests rmfb and close-fd behavior. In these casesthe > + * framebuffers should be removed from the crtc. > + * > + * SUBTEST: close-fd > + * Description: RMFB is supposed to free the framebuffers from any and all planes > + * so test this and make sure it works with fd close and reopen. > + * Driver requirement: any > + * Functionality: kms_gem_interop > + * Mega feature: General Display Features > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: rmfb-ioctl > + * Description: RMFB is supposed to free the framebuffers from any and all planes > + * so test this and make sure it works. > + * Driver requirement: any > + * Functionality: kms_gem_interop > + * Mega feature: General Display Features > + * Run type: FULL > + * Test category: functionality test > + */ > > #ifndef DRM_CAP_CURSOR_WIDTH > #define DRM_CAP_CURSOR_WIDTH 0x8