From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id F07A210E12A for ; Wed, 9 Aug 2023 03:51:00 +0000 (UTC) Message-ID: <9f3fb24b-8092-2412-3026-a6c0a126e623@intel.com> Date: Wed, 9 Aug 2023 09:20:40 +0530 Content-Language: en-US To: Bhanuprakash Modem , References: <20230629144910.3055377-1-bhanuprakash.modem@intel.com> <20230629144910.3055377-41-bhanuprakash.modem@intel.com> From: Karthik B S In-Reply-To: <20230629144910.3055377-41-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 40/81] tests/kms_content_protection: 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: Hi, 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 > --- > tests/kms_content_protection.c | 81 ++++++++++++++++++++++++++++++++++ > 1 file changed, 81 insertions(+) > > diff --git a/tests/kms_content_protection.c b/tests/kms_content_protection.c > index 6cdf81a28..50929d8d5 100644 > --- a/tests/kms_content_protection.c > +++ b/tests/kms_content_protection.c > @@ -22,6 +22,11 @@ > * > */ > > +/** > + * TEST: kms content protection > + * Category: Display > + * Description: Test content protection (HDCP) > + */ > #include > #include > #include > @@ -485,6 +490,66 @@ test_fini(igt_output_t *output, enum igt_commit_style s) > igt_display_commit2(&data.display, s); > } > > +/** > + * SUBTEST: LIC > + * Description: Test for the integrity of link. > + * Driver requirement: any > + * Functionality: hdcp > + * Mega feature: HDCP > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: content_type_change > + * Description: Test the content type change when the content protection already > + * enabled > + * Driver requirement: any > + * Functionality: hdcp, hdcp2.2 > + * Mega feature: HDCP > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: mei_interface > + * Description: Test the teardown and rebuild of the interface between Intel > + * and mei hdcp. > + * Driver requirement: any > + * Functionality: hdcp, hdcp2.2 Since we're explicitly mentioning HDCP2.2, could/should the other component be hdcp1.4 instead of just hdcp? Thanks, Karthik.B.S > + * Mega feature: HDCP > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: srm > + * Description: This test writes the facsimile SRM into the /lib/firmware/ and > + * check the kernel parsing of it by invoking the hdcp authentication. > + * Driver requirement: any > + * Functionality: hdcp > + * Mega feature: HDCP > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: uevent > + * Description: Test to detect the HDCP status change when we are reading the > + * uevent sent with the corresponding connector id and property id. > + * Driver requirement: any > + * Functionality: hdcp > + * Mega feature: HDCP > + * Run type: FULL > + * Test category: functionality test > + * > + * SUBTEST: %s > + * Description: Test content protection with %arg[1] > + * Driver requirement: any > + * Functionality: hdcp > + * Mega feature: HDCP > + * Run type: FULL > + * Test category: functionality test > + * > + * arg[1]: > + * > + * @atomic: atomic modesetting > + * @atomic-dpms: DPMS ON/OFF during atomic modesetting. > + * @legacy: legacy style commit > + * @type1: content type 1 that can be handled only through HDCP2.2. > + */ > static void > test_content_protection(enum igt_commit_style s, int content_type) > { > @@ -602,6 +667,22 @@ static void test_cp_lic_on_mst(igt_output_t *mst_outputs[], int valid_outputs, b > } > } > > +/** > + * SUBTEST: dp-mst-%s > + * Description: Test Content protection %arg[1] over DP MST. > + * Driver requirement: any > + * Functionality: hdcp > + * Mega feature: HDCP > + * Run type: FULL > + * Test category: functionality test > + * > + * arg[1]: > + * > + * @lic-type-0: Type 0 with LIC > + * @lic-type-1: Type 1 with LIC. > + * @type-0: Type 0 > + * @type-1: Type 1 > + */ > static void > test_content_protection_mst(int content_type) > {