From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 652C910E3D9 for ; Tue, 23 May 2023 06:39:24 +0000 (UTC) From: Bhanuprakash Modem To: igt-dev@lists.freedesktop.org Date: Tue, 23 May 2023 12:02:11 +0530 Message-Id: <20230523063243.669540-51-bhanuprakash.modem@intel.com> In-Reply-To: <20230523063243.669540-1-bhanuprakash.modem@intel.com> References: <20230523063243.669540-1-bhanuprakash.modem@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [i-g-t V3 50/82] tests/kms_flip_event_leak: 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: Add documentation for all kms tests which is used by IGT testplan documentation. Signed-off-by: Bhanuprakash Modem --- tests/kms_flip_event_leak.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/tests/kms_flip_event_leak.c b/tests/kms_flip_event_leak.c index b79cd5030..398c58259 100644 --- a/tests/kms_flip_event_leak.c +++ b/tests/kms_flip_event_leak.c @@ -30,6 +30,25 @@ #include "igt_device.h" #include "xe/xe_query.h" +/** + * TEST: kms flip event leak + * Category: Display + * Description: This test tries to provoke the kernel into leaking a pending + * page flip event when the fd is closed before the flip has + * completed. The test itself won't fail even if the kernel leaks + * the event, but the resulting dmesg WARN will indicate a failure. + * + * SUBTEST: basic + * Description: This test tries to provoke the kernel into leaking a pending + * page flip event when the fd is closed before the flip has + * completed. The test itself won't fail even if the kernel leaks + * the event, but the resulting dmesg WARN will indicate a failure. + * Driver requirement: any + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + */ typedef struct { int drm_fd; -- 2.40.0