Commit 21b882de authored by Mike Hsieh's avatar Mike Hsieh Committed by Alex Deucher

drm/amd/display: disable FEC while using eDP

[Why]
FEC over eDP support is incomplete.

[How]
Disable FEC over eDP.
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarMike Hsieh <chun-wei.hsieh@amd.com>
Reviewed-by: default avatarNikola Cornij <Nikola.Cornij@amd.com>
Acked-by: default avatarAnson Jacob <anson.jacob@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 617ab854
...@@ -3701,9 +3701,10 @@ bool dc_link_should_enable_fec(const struct dc_link *link) ...@@ -3701,9 +3701,10 @@ bool dc_link_should_enable_fec(const struct dc_link *link)
bool is_fec_disable = false; bool is_fec_disable = false;
bool ret = false; bool ret = false;
if (link->connector_signal != SIGNAL_TYPE_DISPLAY_PORT_MST && if ((link->connector_signal != SIGNAL_TYPE_DISPLAY_PORT_MST &&
link->local_sink && link->local_sink &&
link->local_sink->edid_caps.panel_patch.disable_fec) link->local_sink->edid_caps.panel_patch.disable_fec) ||
link->connector_signal == SIGNAL_TYPE_EDP) // Disable FEC for eDP
is_fec_disable = true; is_fec_disable = true;
if (dc_link_is_fec_supported(link) && !link->dc->debug.disable_fec && !is_fec_disable) if (dc_link_is_fec_supported(link) && !link->dc->debug.disable_fec && !is_fec_disable)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment