From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2086.outbound.protection.outlook.com [40.107.94.86]) by gabe.freedesktop.org (Postfix) with ESMTPS id 996FE10E2C5 for ; Tue, 8 Feb 2022 10:38:14 +0000 (UTC) From: Wayne Lin Date: Tue, 8 Feb 2022 18:37:52 +0800 Message-ID: <20220208103754.7559-1-Wayne.Lin@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Subject: [igt-dev] [PATCH i-g-t v2 0/2] Add new test for Intermediate Link Rate feature 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 List-ID: Create new tests for checking if ILR (Intermediate Link Rate) is working on eDP displays. Tests validate ILR from 2 perspectives: * Physically check if driver can successfully train link by the ILRs reported from DPCD of eDP panel * Check if driver does use ILRs as the link rate options while doing link training. And also validate that the train result is bandwidth sufficient for the required resolution. Changes since v1:(https://patchwork.freedesktop.org/series/99084/) * Rework on review comments as following: -> Describe more details in commit message -> Add IGT_TEST_DESCRIPTION -> Add macro for constants -> Add igt_describe per subtest --- Wayne Lin (2): lib/igt_amd: correct the link_settings bug test/amdgpu: Add ilr test lib/igt_amd.c | 114 +++++++++++++++- lib/igt_amd.h | 9 ++ tests/amdgpu/amd_ilr.c | 284 +++++++++++++++++++++++++++++++++++++++ tests/amdgpu/meson.build | 1 + 4 files changed, 407 insertions(+), 1 deletion(-) create mode 100644 tests/amdgpu/amd_ilr.c -- 2.25.1