summaryrefslogtreecommitdiff
path: root/src/sna/sna_driver.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-07-10 19:01:12 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-07-10 19:01:12 +0100
commit665c9cbdcf2c493cac29d316eaffa2abe197a183 (patch)
tree2db9a4be5c89f0001092eafb577a5cc6560b65fc /src/sna/sna_driver.c
parent85fdc3143b157fd7ba3453efc86da8238d9de316 (diff)
sna: Disable periodic scanout refresh if all outputs are disconnected
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_driver.c')
-rw-r--r--src/sna/sna_driver.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c
index 484c982e..0bb5c408 100644
--- a/src/sna/sna_driver.c
+++ b/src/sna/sna_driver.c
@@ -499,9 +499,6 @@ static Bool sna_pre_init(ScrnInfoPtr scrn, int flags)
if (xf86ReturnOptValBool(sna->Options, OPTION_TILING_FB, FALSE))
sna->tiling &= ~SNA_TILING_FB;
- /* Default fail-safe value of 75 Hz */
- sna->vblank_interval = 1000 * 1000 * 1000 / 75;
-
sna->flags = 0;
if (!xf86ReturnOptValBool(sna->Options, OPTION_THROTTLE, TRUE))
sna->flags |= SNA_NO_THROTTLE;