summaryrefslogtreecommitdiff
path: root/src/legacy_crtc.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-02-17 19:52:27 -0500
committerAlex Deucher <alexdeucher@gmail.com>2009-02-17 19:52:27 -0500
commit9a108f0a0b7203458673ce6221e747a166d39617 (patch)
tree8ef53b0769f32b0915096842fe646b3952f49860 /src/legacy_crtc.c
parent31bd6d28dd35021e0e706d4f094989deb856c26a (diff)
ATOM: don't unblank uninitialized crtcs
If the crtc timing isn't setup, you might get stuck in a loop in the BlankCRTC command table fixes bug 16781
Diffstat (limited to 'src/legacy_crtc.c')
-rw-r--r--src/legacy_crtc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/legacy_crtc.c b/src/legacy_crtc.c
index cba1b5f3..b8c53806 100644
--- a/src/legacy_crtc.c
+++ b/src/legacy_crtc.c
@@ -1832,7 +1832,9 @@ legacy_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
radeon_update_tv_routing(pScrn, info->ModeReg);
if (info->DispPriority)
- RADEONInitDispBandwidth(pScrn);
+ RADEONInitDispBandwidth(pScrn);
+
+ radeon_crtc->initialized = TRUE;
if (tilingChanged) {
/* need to redraw front buffer, I guess this can be considered a hack ? */