Lines Matching full:edid
57 struct intel_vgpu_i2c_edid *edid = &vgpu->display.i2c_edid;
60 if (edid->state == I2C_NOT_SPECIFIED || !edid->target_selected) {
61 gvt_vgpu_err("Driver tries to read EDID without proper sequence!\n");
64 if (edid->current_edid_read >= EDID_SIZE) {
65 gvt_vgpu_err("edid_get_byte() exceeds the size of EDID!\n");
69 if (!edid->edid_available) {
70 gvt_vgpu_err("Reading EDID but EDID is not available!\n");
74 if (intel_vgpu_has_monitor_on_port(vgpu, edid->port)) {
76 intel_vgpu_port(vgpu, edid->port)->edid;
78 chr = edid_data->edid_block[edid->current_edid_read];
79 edid->current_edid_read++;
81 gvt_vgpu_err("No EDID available during the reading?\n");
218 /* vgpu gmbus only support EDID */
538 * We only support EDID reading from I2C_over_AUX. And
541 * support the gfx driver to do EDID access.
564 * intel_vgpu_init_i2c_edid - initialize vGPU i2c edid emulation
567 * This function is used to initialize vGPU i2c edid emulation stuffs
572 struct intel_vgpu_i2c_edid *edid = &vgpu->display.i2c_edid;
574 edid->state = I2C_NOT_SPECIFIED;
576 edid->port = -1;
577 edid->target_selected = false;
578 edid->edid_available = false;
579 edid->current_edid_read = 0;
581 memset(&edid->gmbus, 0, sizeof(struct intel_vgpu_i2c_gmbus));
583 edid->aux_ch.i2c_over_aux_ch = false;
584 edid->aux_ch.aux_ch_mot = false;