Signed-off-by: Hugo Hu <hugo.hu@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
                return;
        }
 
+       /* EDP use the link cap setting */
+       if (stream->sink->sink_signal == SIGNAL_TYPE_EDP) {
+               *link_setting = link->verified_link_cap;
+               return;
+       }
+
        /* search for the minimum link setting that:
         * 1. is supported according to the link training result
         * 2. could support the b/w requested by the timing