summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-03-21 14:25:59 +1100
committerDave Airlie <airlied@linux.ie>2006-06-02 10:01:26 +1000
commit21f5ac48c8a0f953b88fe53997655a2935b3b87e (patch)
tree356245c4b3cf6daae35f2c7385b2408a9a554f26
parent38a403f88d05087de08ad961f0a7a946ab8b3669 (diff)
add some function prototypes
-rw-r--r--src/i830.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/i830.h b/src/i830.h
index c500e4ee..9da10a1e 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -588,6 +588,17 @@ extern Bool I830CheckModeSupport(ScrnInfoPtr pScrn, int x, int y, int mode);
extern Bool I830Rotate(ScrnInfoPtr pScrn, DisplayModePtr mode);
extern Bool I830FixOffset(ScrnInfoPtr pScrn, I830MemRange *mem);
+extern Bool I830I2CDetectSDVOController(ScrnInfoPtr pScrn, int output_index);
+extern Bool I830I2CDetectDVOControllers(ScrnInfoPtr pScrn, I2CBusPtr pI2CBus, struct _I830DVODriver **retdrv);
+extern Bool I830I2CInit(ScrnInfoPtr pScrn, I2CBusPtr *bus_ptr, int i2c_reg, char *name);
+extern Bool I830SDVOPreSetMode(I830SDVOPtr s, DisplayModePtr mode);
+extern Bool I830SDVOPostSetMode(I830SDVOPtr s, DisplayModePtr mode);
+
+extern Bool I830RawSetMode(ScrnInfoPtr pScrn, DisplayModePtr mode);
+extern Bool I830RawSwitchMode(int scrnIndex, DisplayModePtr mode, int flags);
+extern Bool I830RawSaveState(ScrnInfoPtr pScrn, I830RegPtr hw);
+extern Bool I830RawRestoreState(ScrnInfoPtr pScrn, I830RegPtr hw);
+
/*
* 12288 is set as the maximum, chosen because it is enough for
* 1920x1440@32bpp with a 2048 pixel line pitch with some to spare.