diff options
author | Alex Deucher <alex@botch2.(none)> | 2007-10-02 19:38:18 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2007-10-02 19:38:18 -0400 |
commit | 0ca184c3c35032df39ea7ce5d2d4aba1a97b6426 (patch) | |
tree | 2f4b63b6efcfa75cf1126fa7763360410d2cec16 | |
parent | a5fb2a5d54cdd562a97881cdea1a4af35b483aab (diff) |
RADEON: fix RADEONInitDispBandwidth() on single crtc cards
Should fix bug 12490
-rw-r--r-- | src/radeon_display.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/radeon_display.c b/src/radeon_display.c index 7f599e69..5c4fbfae 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); |