Commit cc04bf7e authored by Tony Cheng's avatar Tony Cheng Committed by Alex Deucher

drm/amd/display: use extended receiver cap for dpcd ver

Signed-off-by: default avatarTony Cheng <tony.cheng@amd.com>
Acked-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Reviewed-by: default avatarAnthony Koo <Anthony.Koo@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ee8f63e1
...@@ -2081,9 +2081,6 @@ static void retrieve_link_cap(struct core_link *link) ...@@ -2081,9 +2081,6 @@ static void retrieve_link_cap(struct core_link *link)
dpcd_data, dpcd_data,
sizeof(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; union training_aux_rd_interval aux_rd_interval;
...@@ -2099,6 +2096,9 @@ static void retrieve_link_cap(struct core_link *link) ...@@ -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 - ds_port.byte = dpcd_data[DP_DOWNSTREAMPORT_PRESENT -
DP_DPCD_REV]; DP_DPCD_REV];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment