mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
drm/bridge: synopsys: dw-hdmi: set output mode hdmi when get edid failed
Signed-off-by: Algea Cao <algea.cao@rock-chips.com> Change-Id: I4bd5421603c0c82e4898e768996d0ffe447a3e63
This commit is contained in:
@@ -2872,6 +2872,8 @@ static int dw_hdmi_connector_get_modes(struct drm_connector *connector)
|
||||
dw_hdmi_update_hdr_property(connector);
|
||||
kfree(edid);
|
||||
} else {
|
||||
hdmi->sink_is_hdmi = true;
|
||||
hdmi->sink_has_audio = true;
|
||||
for (i = 0; i < ARRAY_SIZE(dw_hdmi_default_modes); i++) {
|
||||
const struct drm_display_mode *ptr =
|
||||
&dw_hdmi_default_modes[i];
|
||||
|
||||
Reference in New Issue
Block a user