Lines Matching defs:edid
85 struct edid *edid;
496 if (!ctx->edid) {
503 if (drm_detect_hdmi_monitor(ctx->edid))
508 drm_edid_get_monitor_name(ctx->edid, sink_name, ARRAY_SIZE(sink_name));
771 u8 *edid;
796 edid = kmalloc(EDID_LENGTH, GFP_KERNEL);
797 if (!edid) {
823 kfree(edid);
824 edid = NULL;
837 kfree(edid);
838 edid = NULL;
844 sii8620_read_buf(ctx, REG_DDC_DATA, edid + fetched, FETCH_SIZE);
846 u8 ext = ((struct edid *)edid)->extensions;
852 new_edid = krealloc(edid, edid_len, GFP_KERNEL);
854 kfree(edid);
858 edid = new_edid;
869 kfree(ctx->edid);
870 ctx->edid = (struct edid *)edid;
894 sii8620_write_buf(ctx, REG_EDID_FIFO_WR_DATA, (u8 *)ctx->edid,
895 (ctx->edid->extensions + 1) * EDID_LENGTH);
1516 kfree(ctx->edid);
1517 ctx->edid = NULL;
1798 if (ctx->edid)