Commit e97ed496 authored by Anthony Koo's avatar Anthony Koo Committed by Alex Deucher

drm/amd/display: Do not handle linkloss for eDP

[Why]
eDP is internal link and link loss is unexpected.
It is typically going to be PSR related errors, which is
handled separately.

[How]
Check for eDP and skip check for link loss
Signed-off-by: default avatarAnthony Koo <Anthony.Koo@amd.com>
Reviewed-by: default avatarAric Cyr <Aric.Cyr@amd.com>
Acked-by: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 64267454
...@@ -2854,10 +2854,12 @@ bool dc_link_handle_hpd_rx_irq(struct dc_link *link, union hpd_irq_data *out_hpd ...@@ -2854,10 +2854,12 @@ bool dc_link_handle_hpd_rx_irq(struct dc_link *link, union hpd_irq_data *out_hpd
/* For now we only handle 'Downstream port status' case. /* For now we only handle 'Downstream port status' case.
* If we got sink count changed it means * If we got sink count changed it means
* Downstream port status changed, * Downstream port status changed,
* then DM should call DC to do the detection. */ * then DM should call DC to do the detection.
if (hpd_rx_irq_check_link_loss_status( * NOTE: Do not handle link loss on eDP since it is internal link*/
link, if ((link->connector_signal != SIGNAL_TYPE_EDP) &&
&hpd_irq_dpcd_data)) { hpd_rx_irq_check_link_loss_status(
link,
&hpd_irq_dpcd_data)) {
/* Connectivity log: link loss */ /* Connectivity log: link loss */
CONN_DATA_LINK_LOSS(link, CONN_DATA_LINK_LOSS(link,
hpd_irq_dpcd_data.raw, hpd_irq_dpcd_data.raw,
......
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