]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amd/display: Fix IGT link training failure on Replay panel
authorRay Wu <ray.wu@amd.com>
Tue, 20 Jan 2026 08:29:38 +0000 (16:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Feb 2026 21:39:53 +0000 (16:39 -0500)
[Why]
IGT link-training-configs test fails to set the link rate on Replay panels
because some link rate types are not supported in debugfs. As a result,
debugfs treats these link rates as invalid, causing the IGT test to fail.

[How]
Add missing link rate types to resolve this issue.

Reviewed-by: ChiaHsuan Chung <chiahsuan.chung@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c

index b9ed29ec60dc0992cb7304b04b0b21c781a5482b..5fb573214f18befe0399b9f2fb4e644a625992c3 100644 (file)
@@ -302,8 +302,11 @@ static ssize_t dp_link_settings_write(struct file *f, const char __user *buf,
 
        switch (param[1]) {
        case LINK_RATE_LOW:
+       case LINK_RATE_RATE_2:
+       case LINK_RATE_RATE_3:
        case LINK_RATE_HIGH:
        case LINK_RATE_RBR2:
+       case LINK_RATE_RATE_6:
        case LINK_RATE_HIGH2:
        case LINK_RATE_HIGH3:
        case LINK_RATE_UHBR10: