From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0BBF210E83C for ; Thu, 25 May 2023 09:05:58 +0000 (UTC) Received: from linux.intel.com (maurocar-mobl2.ger.corp.intel.com [10.252.20.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by linux.intel.com (Postfix) with ESMTPS id DD34E580D77 for ; Thu, 25 May 2023 02:05:40 -0700 (PDT) Received: from maurocar by linux.intel.com with local (Exim 4.96) (envelope-from ) id 1q26ug-00BiHf-34 for igt-dev@lists.freedesktop.org; Thu, 25 May 2023 11:05:38 +0200 From: Mauro Carvalho Chehab To: igt-dev@lists.freedesktop.org Date: Thu, 25 May 2023 11:05:26 +0200 Message-Id: <20230525090535.2791739-3-mauro.chehab@linux.intel.com> In-Reply-To: <20230525090535.2791739-1-mauro.chehab@linux.intel.com> References: <20230525090535.2791739-1-mauro.chehab@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t v4 02/11] tests: better document core_* tests used for i915 validation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: From: Mauro Carvalho Chehab Merge data from some ancillary internal documentation to improve core test descriptions. This patch was auto-generated via script. Signed-off-by: Mauro Carvalho Chehab --- tests/core_auth.c | 4 ++++ tests/core_getclient.c | 4 ++++ tests/core_getstats.c | 4 ++++ tests/core_getversion.c | 4 ++++ tests/core_hotunplug.c | 8 ++++++++ tests/core_setmaster.c | 4 ++++ tests/core_setmaster_vs_auth.c | 4 ++++ 7 files changed, 32 insertions(+) diff --git a/tests/core_auth.c b/tests/core_auth.c index ee7fbaabfa92..ed736e1ae39f 100644 --- a/tests/core_auth.c +++ b/tests/core_auth.c @@ -44,8 +44,12 @@ #include "drm.h" /** * TEST: core auth + * Category: Desktop client * Description: Call drmGetMagic() and drmAuthMagic() and see if it behaves. * Feature: core + * Functionality: permission management for clients + * Sub-category: DRM + * Test category: GEM_Legacy * * SUBTEST: basic-auth * Description: Test magic numbers for master and slave. diff --git a/tests/core_getclient.c b/tests/core_getclient.c index 1ab56e9f304c..993801ead5a0 100644 --- a/tests/core_getclient.c +++ b/tests/core_getclient.c @@ -33,9 +33,13 @@ /** * TEST: core getclient + * Category: Desktop client * Description: Tests the DRM_IOCTL_GET_CLIENT ioctl. * Feature: core + * Functionality: permission management for clients * Run type: FULL + * Sub-category: DRM + * Test category: GEM_Legacy * * SUBTEST: */ diff --git a/tests/core_getstats.c b/tests/core_getstats.c index f2b1abac738e..fef12258356e 100644 --- a/tests/core_getstats.c +++ b/tests/core_getstats.c @@ -34,9 +34,13 @@ /** * TEST: core getstats + * Category: Desktop client * Description: Tests the DRM_IOCTL_GET_STATS ioctl. * Feature: core + * Functionality: permission management for clients * Run type: FULL + * Sub-category: DRM + * Test category: GEM_Legacy * * SUBTEST: */ diff --git a/tests/core_getversion.c b/tests/core_getversion.c index ae6fc8f8d7d9..36ba01b865c5 100644 --- a/tests/core_getversion.c +++ b/tests/core_getversion.c @@ -30,9 +30,13 @@ #include /** * TEST: core getversion + * Category: Desktop client * Description: Tests the DRM_IOCTL_GET_VERSION ioctl and libdrm's drmGetVersion() interface to it. * Feature: core + * Functionality: permission management for clients * Run type: FULL + * Sub-category: DRM + * Test category: GEM_Legacy * * SUBTEST: */ diff --git a/tests/core_hotunplug.c b/tests/core_hotunplug.c index 472e9237ddc2..4d6a721f0d28 100644 --- a/tests/core_hotunplug.c +++ b/tests/core_hotunplug.c @@ -48,11 +48,15 @@ * Description: * Check if the driver can be cleanly rebound to a device with a still open hot unbound driver * instance + * Functionality: device hotplug * Run type: FULL + * Test category: SysMan * * SUBTEST: hotrebind-lateclose * Description: Check if a hot unbound driver instance still open after hot rebind can be cleanly released + * Functionality: device hotplug * Run type: FULL + * Test category: SysMan * * SUBTEST: hotreplug * Description: Check if a hot unplugged and still open device can be cleanly restored @@ -64,7 +68,9 @@ * * SUBTEST: hotunbind-rebind * Description: Check if the driver can be cleanly unbound from an open device, then released and rebound + * Functionality: device hotplug * Run type: FULL + * Test category: SysMan * * SUBTEST: hotunplug-rescan * Description: Check if an open device can be cleanly unplugged, then released and restored @@ -72,7 +78,9 @@ * * SUBTEST: unbind-rebind * Description: Check if the driver can be cleanly unbound from a device believed to be closed, then rebound + * Functionality: device hotplug * Run type: BAT + * Test category: SysMan * * SUBTEST: unplug-rescan * Description: Check if a device believed to be closed can be cleanly unplugged, then restored diff --git a/tests/core_setmaster.c b/tests/core_setmaster.c index 95a131a4d3c9..621bc24696a8 100644 --- a/tests/core_setmaster.c +++ b/tests/core_setmaster.c @@ -40,9 +40,13 @@ #include /** * TEST: core setmaster + * Category: Desktop client * Description: Check that Drop/SetMaster behaves correctly wrt root/user access * Feature: core + * Functionality: permission management for clients * Run type: FULL + * Sub-category: DRM + * Test category: GEM_Legacy * * SUBTEST: master-drop-set-root * Description: Ensure that root can Set/DropMaster diff --git a/tests/core_setmaster_vs_auth.c b/tests/core_setmaster_vs_auth.c index 37bb378ab011..adca1c1117d3 100644 --- a/tests/core_setmaster_vs_auth.c +++ b/tests/core_setmaster_vs_auth.c @@ -42,9 +42,13 @@ #include "igt_device.h" /** * TEST: core setmaster vs auth + * Category: Desktop client * Description: Check that drop/setMaster correctly transfer master state * Feature: core + * Functionality: permission management for clients * Run type: FULL + * Sub-category: DRM + * Test category: GEM_Legacy * * SUBTEST: */ -- 2.40.1