From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id CC38F10E431 for ; Tue, 12 Sep 2023 15:37:41 +0000 (UTC) Message-ID: <8efcbd31-e14a-094d-c2e0-7611341db747@intel.com> Date: Tue, 12 Sep 2023 21:07:16 +0530 Content-Language: en-US To: Swati Sharma , References: <20230912070149.1305060-1-swati2.sharma@intel.com> <20230912070149.1305060-3-swati2.sharma@intel.com> From: "Modem, Bhanuprakash" In-Reply-To: <20230912070149.1305060-3-swati2.sharma@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Subject: Re: [igt-dev] [v4 2/4] tests/kms_feature_discovery: add testplan documentation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: On Tue-12-09-2023 12:31 pm, Swati Sharma wrote: > Add testplan documentation for the subtests. > > v2: -remove run type and change mega feature to PSR > > Signed-off-by: Swati Sharma > Acked-by: Kamil Konieczny Reviewed-by: Bhanuprakash Modem > --- > tests/kms_feature_discovery.c | 48 ++++++++++++++++++++++++++++++++++- > 1 file changed, 47 insertions(+), 1 deletion(-) > > diff --git a/tests/kms_feature_discovery.c b/tests/kms_feature_discovery.c > index d1f4b1633..5ee481c4b 100644 > --- a/tests/kms_feature_discovery.c > +++ b/tests/kms_feature_discovery.c > @@ -22,6 +22,53 @@ > * > */ > > +/** > + * TEST: kms feature discovery > + * Category: Display > + * Description: A metatest that checks for \"features\" presence. > + * The subtests here should only skip or pass, > + * anything else means we have a serious problem. > + * > + * SUBTEST: display > + * Description: Make sure that we have display support with > + * some outputs connected. > + * Driver requirement: i915, xe > + * Functionality: feature_discovery > + * Mega feature: General Display Features > + * Test category: functionality test > + * > + * SUBTEST: display-%dx > + * Description: Make sure that we have display support with %arg[1] > + * outputs connected. > + * Driver requirement: i915, xe > + * Functionality: feature_discovery > + * Mega feature: General Display Features > + * Test category: functionality test > + * > + * SUBTEST: chamelium > + * Description: Make sure that Chamelium is configured and reachable. > + * Driver requirement: i915, xe > + * Functionality: feature_discovery, chamelium > + * Mega feature: General Display Features > + * Test category: functionality test > + * > + * SUBTEST: psr1 > + * Description: Make sure that we have eDP panel with PSR1 support. > + * Driver requirement: i915, xe > + * Functionality: feature_discovery, psr1, eDP > + * Mega feature: PSR > + * Test category: functionality test > + * > + * SUBTEST: psr2 > + * Description: Make sure that we have eDP panel with PSR2 support. > + * Driver requirement: i915, xe > + * Functionality: feature_discovery, psr2, eDP > + * Mega feature: PSR > + * Test category: functionality test > + * > + * arg[1].values: 2, 3, 4 > + */ > + > #include "igt.h" > #ifdef HAVE_CHAMELIUM > #include "igt_chamelium.h" > @@ -46,7 +93,6 @@ igt_main { > } > > igt_subtest_group { > - > igt_fixture { > igt_display_require(&display, fd); > }