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>
This commit is contained in:
Algea Cao
2025-04-10 11:16:26 +08:00
committed by Tao Huang
parent eb9d019755
commit f1c83fae2e

View File

@@ -2650,6 +2650,8 @@ out:
extcon_set_state_sync(hdmi->extcon, EXTCON_DISP_HDMI, true);
handle_plugged_change(hdmi, true);
} else {
if (!hdmi->next_bridge)
drm_connector_update_edid_property(&hdmi->connector, NULL);
extcon_set_state_sync(hdmi->extcon, EXTCON_DISP_HDMI, false);
handle_plugged_change(hdmi, false);
}