Home | History | Annotate | Download | only in vboxvideo

Lines Matching refs:edid

645  * Generate EDID data with a mode-unique serial number for the virtual
654 unsigned char edid[EDID_SIZE] = {
661 0x01, 0x03, /* EDID version */
699 edid[12] = width & 0xff;
700 edid[13] = width >> 8;
701 edid[14] = height & 0xff;
702 edid[15] = height >> 8;
703 edid[54] = clock & 0xff;
704 edid[55] = clock >> 8;
705 edid[56] = width & 0xff;
706 edid[58] = (width >> 4) & 0xf0;
707 edid[59] = height & 0xff;
708 edid[61] = (height >> 4) & 0xf0;
710 sum += edid[i];
711 edid[EDID_SIZE - 1] = (0x100 - (sum & 0xFF)) & 0xFF;
712 drm_connector_update_edid_property(connector, (struct edid *)edid);