summaryrefslogtreecommitdiff
path: root/src/i830_dvo.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2006-12-18 15:57:44 -0800
committerEric Anholt <eric@anholt.net>2006-12-18 15:57:44 -0800
commiteedef7adc53dd8337d27c02551c5778fb43bae05 (patch)
tree67c1cc6c6d44dc76b625efda733fc2d6050daa0c /src/i830_dvo.c
parent8983845f91cacf8110c70121e0f5f293fe443e6d (diff)
Add a detect() function for DVO chips, and implement it on sil164.
Diffstat (limited to 'src/i830_dvo.c')
-rw-r--r--src/i830_dvo.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/i830_dvo.c b/src/i830_dvo.c
index c3ad4c08..97453ded 100644
--- a/src/i830_dvo.c
+++ b/src/i830_dvo.c
@@ -177,7 +177,10 @@ i830_dvo_mode_set(xf86OutputPtr output, DisplayModePtr mode,
static xf86OutputStatus
i830_dvo_detect(xf86OutputPtr output)
{
- return XF86OutputStatusUnknown;
+ I830OutputPrivatePtr intel_output = output->driver_private;
+ void *dev_priv = intel_output->i2c_drv->dev_priv;
+
+ return intel_output->i2c_drv->vid_rec->detect(dev_priv);
}
static Bool