summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.(none)>2007-10-02 19:38:18 -0400
committerAlex Deucher <alex@botch2.(none)>2007-10-02 19:38:18 -0400
commit0ca184c3c35032df39ea7ce5d2d4aba1a97b6426 (patch)
tree2f4b63b6efcfa75cf1126fa7763360410d2cec16
parenta5fb2a5d54cdd562a97881cdea1a4af35b483aab (diff)
RADEON: fix RADEONInitDispBandwidth() on single crtc cards
Should fix bug 12490
-rw-r--r--src/radeon_display.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/radeon_display.c b/src/radeon_display.c
index 7f599e6..5c4fbfa 100644
--- a/src/radeon_display.c
+++ b/src/radeon_display.c
@@ -791,6 +791,11 @@ void RADEONInitDispBandwidth(ScrnInfoPtr pScrn)
mode1 = &xf86_config->crtc[1]->mode;
} else
return;
+ } else {
+ if (xf86_config->crtc[0]->enabled)
+ mode1 = &xf86_config->crtc[0]->mode;
+ else
+ return;
}
RADEONInitDispBandwidth2(pScrn, info, pixel_bytes2, mode1, mode2);