1 | /* $XFree86: xc/programs/Xserver/hw/xfree86/ddc/xf86DDC.h,v 1.11 2003/02/17 16:08:27 dawes Exp $ */
|
---|
2 |
|
---|
3 | /* xf86DDC.h
|
---|
4 | *
|
---|
5 | * This file contains all information to interpret a standard EDIC block
|
---|
6 | * transmitted by a display device via DDC (Display Data Channel). So far
|
---|
7 | * there is no information to deal with optional EDID blocks.
|
---|
8 | * DDC is a Trademark of VESA (Video Electronics Standard Association).
|
---|
9 | *
|
---|
10 | * Copyright 1998 by Egbert Eich <[email protected]>
|
---|
11 | */
|
---|
12 |
|
---|
13 |
|
---|
14 | #ifndef XF86_DDC_H
|
---|
15 | # define XF86_DDC_H
|
---|
16 |
|
---|
17 | #include "edid.h"
|
---|
18 | #include "xf86i2c.h"
|
---|
19 | #include "xf86str.h"
|
---|
20 |
|
---|
21 | /* speed up / slow down */
|
---|
22 | typedef enum {
|
---|
23 | DDC_SLOW,
|
---|
24 | DDC_FAST
|
---|
25 | } xf86ddcSpeed;
|
---|
26 |
|
---|
27 | extern xf86MonPtr xf86DoEDID_DDC1(
|
---|
28 | int scrnIndex,
|
---|
29 | void (*DDC1SetSpeed)(ScrnInfoPtr, xf86ddcSpeed),
|
---|
30 | unsigned int (*DDC1Read)(ScrnInfoPtr)
|
---|
31 | );
|
---|
32 |
|
---|
33 | extern xf86MonPtr xf86DoEDID_DDC2(
|
---|
34 | int scrnIndex,
|
---|
35 | I2CBusPtr pBus
|
---|
36 | );
|
---|
37 |
|
---|
38 | extern xf86MonPtr xf86PrintEDID(
|
---|
39 | xf86MonPtr monPtr
|
---|
40 | );
|
---|
41 |
|
---|
42 | extern xf86MonPtr xf86InterpretEDID(
|
---|
43 | int screenIndex, Uchar *block
|
---|
44 | );
|
---|
45 |
|
---|
46 | extern xf86vdifPtr xf86InterpretVdif(
|
---|
47 | CARD8 *c
|
---|
48 | );
|
---|
49 |
|
---|
50 | extern Bool xf86SetDDCproperties(
|
---|
51 | ScrnInfoPtr pScreen,
|
---|
52 | xf86MonPtr DDC
|
---|
53 | );
|
---|
54 |
|
---|
55 | extern void xf86print_vdif(
|
---|
56 | xf86vdifPtr v
|
---|
57 | );
|
---|
58 |
|
---|
59 | #endif
|
---|
60 |
|
---|
61 |
|
---|