From cc04bf7e4f87730a35b14056e23852e010f079ff Mon Sep 17 00:00:00 2001 From: Tony Cheng Date: Tue, 14 Mar 2017 01:40:53 -0400 Subject: [PATCH] drm/amd/display: use extended receiver cap for dpcd ver Signed-off-by: Tony Cheng Acked-by: Harry Wentland Reviewed-by: Anthony Koo Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c index 80002795adc2..282bb59ea2f3 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c @@ -2081,9 +2081,6 @@ static void retrieve_link_cap(struct core_link *link) dpcd_data, sizeof(dpcd_data)); - link->dpcd_caps.dpcd_rev.raw = - dpcd_data[DP_DPCD_REV - DP_DPCD_REV]; - { union training_aux_rd_interval aux_rd_interval; @@ -2099,6 +2096,9 @@ static void retrieve_link_cap(struct core_link *link) } } + link->dpcd_caps.dpcd_rev.raw = + dpcd_data[DP_DPCD_REV - DP_DPCD_REV]; + ds_port.byte = dpcd_data[DP_DOWNSTREAMPORT_PRESENT - DP_DPCD_REV]; -- 2.30.2