From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id AF7D510E17E for ; Mon, 15 May 2023 08:23:31 +0000 (UTC) From: Bhanuprakash Modem To: igt-dev@lists.freedesktop.org Date: Mon, 15 May 2023 13:46:40 +0530 Message-Id: <20230515081720.3713293-40-bhanuprakash.modem@intel.com> In-Reply-To: <20230515081720.3713293-1-bhanuprakash.modem@intel.com> References: <20230515081720.3713293-1-bhanuprakash.modem@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [i-g-t 39/79] 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: 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 344cac505..c3bc74f44 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 + * 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) { -- 2.40.0