drm/amd/display: always retrieve PSR cap
authorAmy Zhang <Amy.Zhang@amd.com>
Tue, 18 Apr 2017 21:43:09 +0000 (17:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:06:33 +0000 (18:06 -0400)
Signed-off-by: Amy Zhang <Amy.Zhang@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 913b01cd7159ddef1855be5eb4c2090d0b3124f5..4ef3fec44d2dc8fc722a000f1f950c63272eefc0 100644 (file)
@@ -2169,8 +2169,7 @@ 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 */
-       if (link->public.reported_link_cap.link_rate < LINK_RATE_HIGH2)
-               retrieve_psr_link_cap(link, link->edp_revision);
+       retrieve_psr_link_cap(link, link->edp_revision);
 }
 
 void detect_dp_sink_caps(struct core_link *link)