aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeyu Fan <[email protected]>2017-03-29 17:21:56 -0400
committerAlex Deucher <[email protected]>2017-09-26 17:22:00 -0400
commitbddd696ddd437ce15d278b2a5318ef44d3c171cd (patch)
tree4ecafebb5ec602e1c05b60145ec613ce6103652c
parente8d726b71c55fb5c20fcf76bdea93c148a4b11e5 (diff)
drm/amd/display: Temporary disable PSR for HBR2 & HBR3
Signed-off-by: Zeyu Fan <[email protected]> Acked-by: Harry Wentland <[email protected]> Reviewed-by: Tony Cheng <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c3
1 files changed, 2 insertions, 1 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 4f6d1d2d5b9b..b8c40e8bee5a 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
@@ -2165,7 +2165,8 @@ static void retrieve_link_cap(struct core_link *link)
CONN_DATA_DETECT(link, dpcd_data, sizeof(dpcd_data), "Rx Caps: ");
/* TODO: Confirm if need retrieve_psr_link_cap */
- retrieve_psr_link_cap(link, link->edp_revision);
+ if (link->public.reported_link_cap.link_rate < LINK_RATE_HIGH2)
+ retrieve_psr_link_cap(link, link->edp_revision);
}
void detect_dp_sink_caps(struct core_link *link)