From: Zeyu Fan Date: Wed, 29 Mar 2017 21:21:56 +0000 (-0400) Subject: drm/amd/display: Temporary disable PSR for HBR2 & HBR3 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bddd696ddd437ce15d278b2a5318ef44d3c171cd;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: Temporary disable PSR for HBR2 & HBR3 Signed-off-by: Zeyu Fan Acked-by: Harry Wentland Reviewed-by: Tony Cheng Signed-off-by: Alex Deucher --- 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)