aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorTianci.Yin <[email protected]>2022-03-08 13:45:45 +0800
committerAlex Deucher <[email protected]>2022-03-15 14:25:16 -0400
commit2e9fda82c98b1e417b90ff5a2f8b8b96cac06fc5 (patch)
treef3f78f18ac9a45727676709ce369efe7bdd38c0c /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parent8718ca1dbf497c302df989afaeb82f05f5a3d961 (diff)
drm/amd/display: fix dp kvm can't light up
[why] The DP KVM failed to light up, since the lttpr_mode is not reset to default value when failed to read LTTPR capabilities, and the variable max_link_rate retains a initial value zero, this cause variable link_rate be assigned to an error value zero, consquently pixel_clock get wrong value zero, and kvm can't light up. [how] Reset lttpr_mode to default value when failed to read LTTPR capabilities, so that the link_rate fallbacks to the minimum rate that supported by link encoder and sink. Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Tianci.Yin <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions