fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * edid.h: defines to parse an EDID block
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * This file contains all information to interpret a standard EDIC block
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * transmitted by a display device via DDC (Display Data Channel). So far
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * there is no information to deal with optional EDID blocks.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * DDC is a Trademark of VESA (Video Electronics Standard Association).
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Copyright 1998 by Egbert Eich <Egbert.Eich@Physik.TU-Darmstadt.DE>
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* read complete EDID record */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* header: 0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* vendor section */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define VENDOR_SECTION (HEADER_SECTION + HEADER_LENGTH)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* EDID version */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define VERSION_SECTION (VENDOR_SECTION + VENDOR_LENGTH)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* display information */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define DISPLAY_SECTION (VERSION_SECTION + VERSION_LENGTH)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* supported VESA and other standard timings */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define ESTABLISHED_TIMING_SECTION (DISPLAY_SECTION + DISPLAY_LENGTH)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* non predefined standard timings supported by display */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define STD_TIMING_SECTION (ESTABLISHED_TIMING_SECTION + E_TIMING_LENGTH)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define STD_TIMING_LENGTH (STD_TIMING_INFO_LEN * STD_TIMING_INFO_NUM)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* detailed timing info of non standard timings */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define DET_TIMING_SECTION (STD_TIMING_SECTION + STD_TIMING_LENGTH)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define DET_TIMING_LENGTH (DET_TIMING_INFO_LEN * DET_TIMING_INFO_NUM)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* number of EDID sections to follow */
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#define NO_EDID (DET_TIMING_SECTION + DET_TIMING_LENGTH)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte/* one byte checksum */