[igt-dev] [PATCH i-g-t v2 0/2] Add new test for Intermediate Link Rate feature

Wayne Lin Wayne.Lin at amd.com
Tue Feb 8 10:37:52 UTC 2022


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



More information about the igt-dev mailing list