Lines Matching full:edid
44 struct edid *raw_edid;
198 /* use fake edid data for test. */ in vidi_store_connection()
200 ctx->raw_edid = (struct edid *)fake_edid_info; in vidi_store_connection()
203 if (ctx->raw_edid != (struct edid *)fake_edid_info) { in vidi_store_connection()
204 DRM_DEV_DEBUG_KMS(dev, "edid data is not fake data.\n"); in vidi_store_connection()
249 struct edid *raw_edid; in vidi_connection_ioctl()
251 raw_edid = (struct edid *)(unsigned long)vidi->edid; in vidi_connection_ioctl()
254 "edid data is invalid.\n"); in vidi_connection_ioctl()
266 * only if raw edid data isn't same as fake data. in vidi_connection_ioctl()
269 (struct edid *)fake_edid_info) { in vidi_connection_ioctl()
310 struct edid *edid; in vidi_get_modes() local
314 * the edid data comes from user side and it would be set in vidi_get_modes()
323 edid = kmemdup(ctx->raw_edid, edid_len, GFP_KERNEL); in vidi_get_modes()
324 if (!edid) { in vidi_get_modes()
325 DRM_DEV_DEBUG_KMS(ctx->dev, "failed to allocate edid\n"); in vidi_get_modes()
329 drm_connector_update_edid_property(connector, edid); in vidi_get_modes()
331 return drm_add_edid_modes(connector, edid); in vidi_get_modes()
469 if (ctx->raw_edid != (struct edid *)fake_edid_info) { in vidi_remove()