From: Fangzhi Zuo <[email protected]>

Add support to manually force link rate to UHBR135 (0x546) and UHBR20
(0x7d0).

Reviewed-by: Roman Li <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Fangzhi Zuo <[email protected]>
---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c 
b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
index 9f66b0ed7ead..007d283fef46 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
@@ -299,6 +299,8 @@ static ssize_t dp_link_settings_write(struct file *f, const 
char __user *buf,
        case LINK_RATE_HIGH2:
        case LINK_RATE_HIGH3:
        case LINK_RATE_UHBR10:
+       case LINK_RATE_UHBR13_5:
+       case LINK_RATE_UHBR20:
                break;
        default:
                valid_input = false;
-- 
2.35.1

Reply via email to