how expensive is reading edid

15 views
Skip to first unread message

Carl Karsten

unread,
Sep 7, 2019, 10:17:37 PM9/7/19
to hdmi...@googlegroups.com
How bad would it be to poll this once a second?

Not because I want this value every second, but I was looking at gathering the state of everything.


>debug edid output1
00 FF FF FF FF FF FF 00 3D 17 54 56 00 00 00 00
00 19 01 03 80 14 0B 50 06 00 00 00 00 00 00 00
00 00 00 00 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 01 1D 00 BC 52 D0 1E 20 B8 28
05 40 C8 70 00 00 00 1E 01 1D 00 72 51 D0 1E 20
DC 28 14 00 C8 70 00 00 00 1E 00 00 00 FC 00 48
44 4D 49 32 55 53 42 2D 32 0A 20 20 00 00 00 FD
00 32 3C 1F 44 08 00 0A 20 20 20 20 20 20 00 51

    for (eeprom_addr = 0 ; eeprom_addr < 128 ; eeprom_addr++) {
        b = i2c_read(&hdmi_out0_i2c, eeprom_addr == 127 && extension_number == 0 ? 0 : 1);
        wprintf("%02X ", b);

https://github.com/timvideos/HDMI2USB-litex-firmware/blob/master/firmware/hdmi_out0.c#L38-L39

--
Carl K

Tim 'mithro' Ansell

unread,
Oct 25, 2019, 1:32:07 AM10/25/19
to hdmi...@googlegroups.com
If implemented correctly reading the edid should be pretty much free. However, I feel like reading edid might block other operations including things like updating the frame buffer values.....

--
You received this message because you are subscribed to the Google Groups "hdmi2usb - A HDMI capture solution" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hdmi2usb+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/hdmi2usb/CADmzSSgPWwqDxnEMC%2Bc_%3DYOdsQFAKD9seBDr4q_EX593GJ4ZHw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages