summaryrefslogtreecommitdiff
path: root/src/radeon_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/radeon_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/radeon_crtc.c')
-rw-r--r--src/radeon_crtc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_crtc.c b/src/radeon_crtc.c
index e0875a4e..5a7c730a 100644
--- a/src/radeon_crtc.c
+++ b/src/radeon_crtc.c
@@ -609,6 +609,7 @@ Bool RADEONAllocateControllers(ScrnInfoPtr pScrn, int mask)
pRADEONEnt->pCrtc[0]->driver_private = pRADEONEnt->Controller[0];
pRADEONEnt->Controller[0]->crtc_id = 0;
pRADEONEnt->Controller[0]->crtc_offset = 0;
+ pRADEONEnt->Controller[0]->initialized = FALSE;
if (info->allowColorTiling)
pRADEONEnt->Controller[0]->can_tile = 1;
else
@@ -633,6 +634,7 @@ Bool RADEONAllocateControllers(ScrnInfoPtr pScrn, int mask)
pRADEONEnt->pCrtc[1]->driver_private = pRADEONEnt->Controller[1];
pRADEONEnt->Controller[1]->crtc_id = 1;
pRADEONEnt->Controller[1]->crtc_offset = AVIVO_D2CRTC_H_TOTAL - AVIVO_D1CRTC_H_TOTAL;
+ pRADEONEnt->Controller[1]->initialized = FALSE;
if (info->allowColorTiling)
pRADEONEnt->Controller[1]->can_tile = 1;
else