Lines Matching refs:edid
400 kfree(nv_connector->edid); in nouveau_connector_destroy()
474 const void *edid = of_get_property(cn, "EDID", NULL); in nouveau_connector_of_detect() local
477 if (nv_encoder->dcb->i2c_index == idx && edid) { in nouveau_connector_of_detect()
478 nv_connector->edid = in nouveau_connector_of_detect()
479 kmemdup(edid, EDID_LENGTH, GFP_KERNEL); in nouveau_connector_of_detect()
536 struct edid *edid) in nouveau_connector_set_edid() argument
538 if (nv_connector->edid != edid) { in nouveau_connector_set_edid()
539 struct edid *old_edid = nv_connector->edid; in nouveau_connector_set_edid()
541 drm_connector_update_edid_property(&nv_connector->base, edid); in nouveau_connector_set_edid()
543 nv_connector->edid = edid; in nouveau_connector_set_edid()
579 struct edid *new_edid; in nouveau_connector_detect()
589 if (!nv_connector->edid) { in nouveau_connector_detect()
610 if (nv_connector->edid->input & DRM_EDID_INPUT_DIGITAL) in nouveau_connector_detect()
620 drm_dp_cec_set_edid(&nv_connector->aux, nv_connector->edid); in nouveau_connector_detect()
651 if (!nv_connector->edid) in nouveau_connector_detect()
667 struct edid *edid = NULL; in nouveau_connector_detect_lvds() local
678 edid = nv_connector->edid; in nouveau_connector_detect_lvds()
693 edid = nouveau_acpi_edid(dev, connector); in nouveau_connector_detect_lvds()
694 if (edid) { in nouveau_connector_detect_lvds()
714 edid = (struct edid *)nouveau_bios_embedded_edid(dev); in nouveau_connector_detect_lvds()
715 if (edid) { in nouveau_connector_detect_lvds()
716 edid = kmemdup(edid, EDID_LENGTH, GFP_KERNEL); in nouveau_connector_detect_lvds()
717 if (edid) in nouveau_connector_detect_lvds()
730 nouveau_connector_set_edid(nv_connector, edid); in nouveau_connector_detect_lvds()
865 if (nv_connector->edid && connector->display_info.bpc) in nouveau_connector_detect_depth()
892 if (nv_connector->edid && in nouveau_connector_detect_depth()
894 duallink = ((u8 *)nv_connector->edid)[121] == 2; in nouveau_connector_detect_depth()
952 if (nv_connector->edid) in nouveau_connector_get_modes()
953 ret = drm_add_edid_modes(connector, nv_connector->edid); in nouveau_connector_get_modes()
1013 if (drm_detect_hdmi_monitor(nv_connector->edid)) { in get_tmds_link_bandwidth()