From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 59FEE10E3BD for ; Wed, 17 May 2023 06:39:05 +0000 (UTC) From: Bhanuprakash Modem Date: Wed, 17 May 2023 12:02:17 +0530 Message-Id: <20230517063323.4146387-16-bhanuprakash.modem@intel.com> In-Reply-To: <20230517063323.4146387-1-bhanuprakash.modem@intel.com> References: <20230517063323.4146387-1-bhanuprakash.modem@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [i-g-t V2 15/81] tests/i915/kms_cdclk: 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" To: igt-dev@lists.freedesktop.org, mchehab@kernel.org List-ID: Add documentation for all kms tests which is used by IGT testplan documentation. Signed-off-by: Bhanuprakash Modem --- tests/i915/kms_cdclk.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/tests/i915/kms_cdclk.c b/tests/i915/kms_cdclk.c index 0f9b8dc58..ef0c5ee61 100644 --- a/tests/i915/kms_cdclk.c +++ b/tests/i915/kms_cdclk.c @@ -24,6 +24,11 @@ * Swati Sharma */ +/** + * TEST: kms cdclk + * Category: Display + * Description: Test cdclk features : crawling and squashing + */ #include "igt.h" IGT_TEST_DESCRIPTION("Test cdclk features : crawling and squashing"); @@ -248,6 +253,16 @@ static void test_mode_transition(data_t *data, enum pipe pipe, igt_output_t *out igt_remove_fb(display->drm_fd, &fb); } +/** + * SUBTEST: mode-transition-all-outputs + * Description: Mode transition (low to high) test to validate cdclk frequency + * change by simultaneous modesets on all pipes with valid outputs. + * Driver requirement: any + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + */ static void test_mode_transition_on_all_outputs(data_t *data) { igt_display_t *display = &data->display; @@ -344,6 +359,23 @@ static void test_mode_transition_on_all_outputs(data_t *data) igt_remove_fb(data->drm_fd, &fb); } +/** + * SUBTEST: mode-transition + * Description: Mode transition (low to high) test to validate cdclk frequency change. + * Driver requirement: any + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + * + * SUBTEST: plane-scaling + * Description: Plane scaling test to validate cdclk frequency change. + * Driver requirement: any + * Functionality: kms_core + * Mega feature: General Display Features + * Run type: FULL + * Test category: functionality test + */ static void run_cdclk_test(data_t *data, uint32_t flags) { igt_display_t *display = &data->display; -- 2.40.0