mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
drm/amd/display: disable FEC while using eDP
[Why] FEC over eDP support is incomplete. [How] Disable FEC over eDP. Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Mike Hsieh <chun-wei.hsieh@amd.com> Reviewed-by: Nikola Cornij <Nikola.Cornij@amd.com> Acked-by: Anson Jacob <anson.jacob@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
617ab85401
commit
21b882de6a
@ -3701,9 +3701,10 @@ bool dc_link_should_enable_fec(const struct dc_link *link)
|
||||
bool is_fec_disable = 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->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;
|
||||
|
||||
if (dc_link_is_fec_supported(link) && !link->dc->debug.disable_fec && !is_fec_disable)
|
||||
|
Loading…
Reference in New Issue
Block a user