mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
drm: bridge: dw-hdmi: Update hdr panel metadata when can't get edid
Signed-off-by: Algea Cao <algea.cao@rock-chips.com> Change-Id: Ide73e5f10a591a9f85061461fa34a66bc3ac5d95
This commit is contained in:
@@ -2982,7 +2982,6 @@ static int dw_hdmi_connector_get_modes(struct drm_connector *connector)
|
||||
}
|
||||
}
|
||||
|
||||
dw_hdmi_update_hdr_property(connector);
|
||||
kfree(edid);
|
||||
} else {
|
||||
hdmi->support_hdmi = true;
|
||||
@@ -3008,6 +3007,7 @@ static int dw_hdmi_connector_get_modes(struct drm_connector *connector)
|
||||
|
||||
dev_info(hdmi->dev, "failed to get edid\n");
|
||||
}
|
||||
dw_hdmi_update_hdr_property(connector);
|
||||
dw_hdmi_check_output_type_changed(hdmi);
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user