Lines Matching refs:edid
162 u8 edid[HDMI_EDID_LEN];
2352 static struct edid *dw_hdmi_get_edid(struct dw_hdmi *hdmi,
2355 struct edid *edid;
2360 edid = drm_get_edid(connector, hdmi->ddc);
2361 if (!edid) {
2362 dev_dbg(hdmi->dev, "failed to get edid\n");
2366 dev_dbg(hdmi->dev, "got edid: width[%d] x height[%d]\n",
2367 edid->width_cm, edid->height_cm);
2369 hdmi->sink_is_hdmi = drm_detect_hdmi_monitor(edid);
2370 hdmi->sink_has_audio = drm_detect_monitor_audio(edid);
2372 return edid;
2391 struct edid *edid;
2394 edid = dw_hdmi_get_edid(hdmi, connector);
2395 if (!edid)
2398 drm_connector_update_edid_property(connector, edid);
2399 cec_notifier_set_phys_addr_from_edid(hdmi->cec_notifier, edid);
2400 ret = drm_add_edid_modes(connector, edid);
2401 kfree(edid);
2890 static struct edid *dw_hdmi_bridge_get_edid(struct drm_bridge *bridge,