summaryrefslogtreecommitdiff
path: root/src/atombios_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/atombios_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/atombios_crtc.c')
-rw-r--r--src/atombios_crtc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c
index 432cebe0..5c26ef82 100644
--- a/src/atombios_crtc.c
+++ b/src/atombios_crtc.c
@@ -491,6 +491,8 @@ atombios_crtc_mode_set(xf86CrtcPtr crtc,
if (info->DispPriority)
RADEONInitDispBandwidth(pScrn);
+ radeon_crtc->initialized = TRUE;
+
if (tilingChanged) {
/* need to redraw front buffer, I guess this can be considered a hack ? */
/* if this is called during ScreenInit() we don't have pScrn->pScreen yet */