summaryrefslogtreecommitdiff
path: root/src/i830.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-04-19 10:45:13 -0700
committerEric Anholt <anholt@FreeBSD.org>2006-04-19 10:45:13 -0700
commitd8f7dfac769d7b03f069306b1296bb2e1e08b009 (patch)
tree0098b26126cf7db6d496be44e2c6ae101ddc9096 /src/i830.h
parenta371a04a57620b7128e3c4395bc7c2ac55effe19 (diff)
Start bringing in some SDVO code, mostly from airlied.
Diffstat (limited to 'src/i830.h')
-rw-r--r--src/i830.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/i830.h b/src/i830.h
index babbe08d..a631258e 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -202,7 +202,7 @@ struct _I830OutputRec {
I2CBusPtr pI2CBus;
I2CBusPtr pDDCBus;
struct _I830DVODriver *i2c_drv;
- struct _I830SDVODriver *sdvo_drv;
+ I830SDVOPtr sdvo_drv;
};
typedef struct _I830Rec {
@@ -580,6 +580,10 @@ extern Bool I830RandRInit(ScreenPtr pScreen, int rotation);
extern Bool I830I2CInit(ScrnInfoPtr pScrn, I2CBusPtr *bus_ptr, int i2c_reg,
char *name);
+/* i830_sdvo.c */
+extern I830SDVOPtr I830SDVOInit(I2CBusPtr b);
+extern Bool I830I2CDetectSDVOController(ScrnInfoPtr pScrn, int output_index);
+
/*
* 12288 is set as the maximum, chosen because it is enough for
* 1920x1440@32bpp with a 2048 pixel line pitch with some to spare.