b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * This file contains all information to interpret a standard EDIC block
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * transmitted by a display device via DDC (Display Data Channel). So far
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * there is no information to deal with optional EDID blocks.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * DDC is a Trademark of VESA (Video Electronics Standard Association).
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * Copyright 1998 by Egbert Eich <Egbert.Eich@Physik.TU-Darmstadt.DE>
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync/* speed up / slow down */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsynctypedef enum {
b9a21c3c91c47e090316e28d759194e46628ed49vboxsynctypedef void (* DDC1SetSpeedProc)(ScrnInfoPtr, xf86ddcSpeed);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncextern _X_EXPORT xf86MonPtr xf86DoEEDID(int scrnIndex, I2CBusPtr pBus, Bool);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncxf86EdidMonitorSet(int scrnIndex, MonPtr Monitor, xf86MonPtr DDC);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncextern _X_EXPORT DisplayModePtr xf86DDCGetModes(int scrnIndex, xf86MonPtr DDC);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncxf86DisplayIDMonitorSet(int scrnIndex, MonPtr mon, xf86MonPtr DDC);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncFindDMTMode(int hsize, int vsize, int refresh, Bool rb);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * Quirks to work around broken EDID data from various monitors.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsynctypedef enum {
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* First detailed mode is bogus, prefer largest mode at 60hz */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* 135MHz clock is too high, drop a bit */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* Prefer the largest mode at 75 Hz */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* Convert detailed timing's horizontal from units of cm to mm */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* Convert detailed timing's vertical from units of cm to mm */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* Detailed timing descriptors have bogus size values, so just take the
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * maximum size and use that.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* Monitor forgot to set the first detailed is preferred bit. */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* use +hsync +vsync for detailed mode */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync /* Force single-link DVI bandwidth limit */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncDisplayModePtr xf86DDCGetModes(int scrnIndex, xf86MonPtr DDC);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsynctypedef void (* handle_detailed_fn)(struct detailed_monitor_section *,void *);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncxf86DDCDetectQuirks(int scrnIndex, xf86MonPtr DDC, Bool verbose);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncvoid xf86DetTimingApplyQuirks(struct detailed_monitor_section *det_mon,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsynctypedef void (* handle_video_fn)(struct cea_video_block *, void *);