drm/amd/display: Ext displays with dock can't recognized after resume
authorRyan Lin <tsung-hua.lin@amd.com>
Tue, 7 Feb 2023 15:03:48 +0000 (23:03 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 Mar 2023 03:42:53 +0000 (22:42 -0500)
commit01a18aa309aec12461fb5e6aecb76f8b33810658
tree1913e9ebe218897c98600ca94719dcecb67a70c6
parent23f4a2d29ba57bf88095f817de5809d427fcbe7e
drm/amd/display: Ext displays with dock can't recognized after resume

[Why]
Needs to set the default value of the LTTPR timeout after resume.

[How]
Set the default (3.2ms) timeout at resuming if the sink supports
LTTPR

Reviewed-by: Jerry Zuo <Jerry.Zuo@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Ryan Lin <tsung-hua.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/dc/link/protocols/link_ddc.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c