kolibrios/drivers/old/radeonhd/xf86DDC.h
Sergey Semyonov (Serge) 7c0a5de1e7 move old ddx driver
git-svn-id: svn://kolibrios.org@1407 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-02-12 17:43:39 +00:00

61 lines
1.2 KiB
C

/* $XFree86: xc/programs/Xserver/hw/xfree86/ddc/xf86DDC.h,v 1.10 2000/06/07 22:03:09 tsi Exp $ */
/* xf86DDC.h
*
* This file contains all information to interpret a standard EDIC block
* transmitted by a display device via DDC (Display Data Channel). So far
* there is no information to deal with optional EDID blocks.
* DDC is a Trademark of VESA (Video Electronics Standard Association).
*
* Copyright 1998 by Egbert Eich <Egbert.Eich@Physik.TU-Darmstadt.DE>
*/
#ifndef XF86_DDC_H
# define XF86_DDC_H
#include "xf86i2c.h"
#include "vdif.h"
//#include "xf86str.h"
/* speed up / slow down */
typedef enum {
DDC_SLOW,
DDC_FAST
} xf86ddcSpeed;
typedef void (* DDC1SetSpeedProc)(RHDPtr, xf86ddcSpeed);
extern xf86MonPtr xf86DoEDID_DDC1(
RHDPtr rhdPtr,
DDC1SetSpeedProc DDC1SetSpeed,
unsigned int (*DDC1Read)(RHDPtr)
);
extern xf86MonPtr xf86DoEDID_DDC2(RHDPtr rhdPtr,I2CBusPtr pBus);
extern xf86MonPtr xf86PrintEDID(
xf86MonPtr monPtr
);
extern xf86MonPtr xf86InterpretEDID(int scrnIndex, Uchar *block);
extern xf86vdifPtr xf86InterpretVdif(
CARD8 *c
);
extern Bool xf86SetDDCproperties(
RHDPtr rhdPtr,
xf86MonPtr DDC
);
extern void xf86print_vdif(
xf86vdifPtr v
);
#endif