summaryrefslogtreecommitdiff
path: root/src/i830_sdvo.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2006-12-12 11:39:40 -0800
committerEric Anholt <eric@anholt.net>2006-12-12 14:55:10 -0800
commit668ae6ce3c3c4b93a58749fd44ef32451adb6f9c (patch)
tree051075b7e028f8c2bf223ced843fdbf317802364 /src/i830_sdvo.c
parent91a538beadc17155be395ea2c8109a0958a969bd (diff)
Set the SDVO port to on before sending the SDVO output on command.
Diffstat (limited to 'src/i830_sdvo.c')
-rw-r--r--src/i830_sdvo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c
index 077e6c17..8619d026 100644
--- a/src/i830_sdvo.c
+++ b/src/i830_sdvo.c
@@ -701,8 +701,8 @@ i830_sdvo_dpms(xf86OutputPtr output, int mode)
i830_sdvo_set_active_outputs(output, 0);
OUTREG(dev_priv->output_device, INREG(dev_priv->output_device) & ~SDVO_ENABLE);
} else {
- i830_sdvo_set_active_outputs(output, dev_priv->active_outputs);
OUTREG(dev_priv->output_device, INREG(dev_priv->output_device) | SDVO_ENABLE);
+ i830_sdvo_set_active_outputs(output, dev_priv->active_outputs);
}
}