summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@tungstengraphics.com>2006-12-08 02:51:52 +0100
committerRoland Scheidegger <sroland@tungstengraphics.com>2006-12-08 02:51:52 +0100
commit120c854f185c1e7711cf0dee19303fdb8894d49d (patch)
treed4a5a5d0430a640a2e01105a3285c8c8dc330e2f /src/radeon_driver.c
parentccd37b3e88cdcfe03b7c707b6082339eb8f11e6b (diff)
radeon: avoid unnecessary OUTPLL/INPLL calls when displaying video
It is not necessary to always emit a OUTPLL/INPLL pair when we display a video frame. On some chips there are erratas for which the workarounds cause a 10ms delay by those calls. This is related to #5876 though those affected may suffer from other slowness issues too.
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 566197cc..ab19b222 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -6595,6 +6595,8 @@ _X_EXPORT Bool RADEONSwitchMode(int scrnIndex, DisplayModePtr mode, int flags)
RADEONResetDPI(pScrn, FALSE);
}
+ info->ecp_div = -1;
+
return ret;
}