diff options
author | Eric Anholt <eric@anholt.net> | 2006-10-31 14:32:00 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2006-10-31 14:32:00 -0800 |
commit | 68cef9f4e028755bbf3e1862da2ef47d46ddaa6a (patch) | |
tree | 1f5018a6e0492efff7130b97b18864d00df1d4ad /src/i830_dvo.c | |
parent | 9fd719fce27f916ab5120f6e1234affa14eaed9d (diff) |
Move output connection detection to a per-output method.
This will be used by RandR, and should let us clean up some of the initial
display configuration, hopefully.
Also, analog hotplug-based detection is now enabled on G965.
Diffstat (limited to 'src/i830_dvo.c')
-rw-r--r-- | src/i830_dvo.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/i830_dvo.c b/src/i830_dvo.c index 01858f2c..ed21ecc5 100644 --- a/src/i830_dvo.c +++ b/src/i830_dvo.c @@ -144,6 +144,17 @@ i830_dvo_post_set_mode(ScrnInfoPtr pScrn, I830OutputPtr output, OUTREG(DVOC, dvo); } +/** + * Detect the output connection on our DVO device. + * + * Unimplemented. + */ +static enum detect_status +i830_dvo_detect(ScrnInfoPtr pScrn, I830OutputPtr output) +{ + return OUTPUT_STATUS_UNKNOWN; +} + static Bool I830I2CDetectDVOControllers(ScrnInfoPtr pScrn, I2CBusPtr pI2CBus, struct _I830DVODriver **retdrv) @@ -189,6 +200,7 @@ i830_dvo_init(ScrnInfoPtr pScrn) pI830->output[i].mode_valid = i830_dvo_mode_valid; pI830->output[i].pre_set_mode = i830_dvo_pre_set_mode; pI830->output[i].post_set_mode = i830_dvo_post_set_mode; + pI830->output[i].detect = i830_dvo_detect; /* Set up the I2C and DDC buses */ ret = I830I2CInit(pScrn, &pI830->output[i].pI2CBus, GPIOE, "DVOI2C_E"); |