drm/amd/display: Temporary disable PSR for HBR2 & HBR3
authorZeyu Fan <Zeyu.Fan@amd.com>
Wed, 29 Mar 2017 21:21:56 +0000 (17:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:22:00 +0000 (17:22 -0400)
Signed-off-by: Zeyu Fan <Zeyu.Fan@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c

index 4f6d1d2d5b9bbac1a823f1c6e29674bfe27734e7..b8c40e8bee5a253b474b0925889d8c0457c52936 100644 (file)
@@ -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)