From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id A68F410E3C0 for ; Wed, 17 May 2023 06:40:29 +0000 (UTC) From: Bhanuprakash Modem Date: Wed, 17 May 2023 12:03:10 +0530 Message-Id: <20230517063323.4146387-69-bhanuprakash.modem@intel.com> In-Reply-To: <20230517063323.4146387-1-bhanuprakash.modem@intel.com> References: <20230517063323.4146387-1-bhanuprakash.modem@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [i-g-t V2 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" To: igt-dev@lists.freedesktop.org, mchehab@kernel.org List-ID: Add documentation for all kms tests which is used by IGT testplan documentation. Signed-off-by: Bhanuprakash Modem --- tests/kms_rmfb.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/tests/kms_rmfb.c b/tests/kms_rmfb.c index 50df42953..6987d87bd 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 -- 2.40.0