Skip to content

Commit f1c83fa

Browse files
Algea Caorkhuangtao
authored andcommitted
drm/bridge: synopsys: dw-hdmi-qp: Clear edid property when hdmi plug out
If edid property is not cleared when hdmi plug out, edid value maybe keep previous sink's when the hdmi is connected to another sink. Change-Id: I8d06de17040573de4ef4706183bd7b46c4002ae4 Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
1 parent eb9d019 commit f1c83fa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2650,6 +2650,8 @@ dw_hdmi_connector_detect(struct drm_connector *connector, bool force)
26502650
extcon_set_state_sync(hdmi->extcon, EXTCON_DISP_HDMI, true);
26512651
handle_plugged_change(hdmi, true);
26522652
} else {
2653+
if (!hdmi->next_bridge)
2654+
drm_connector_update_edid_property(&hdmi->connector, NULL);
26532655
extcon_set_state_sync(hdmi->extcon, EXTCON_DISP_HDMI, false);
26542656
handle_plugged_change(hdmi, false);
26552657
}

0 commit comments

Comments
 (0)