summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2004-10-11 09:58:04 +0000
committerEgbert Eich <eich@suse.de>2004-10-11 09:58:04 +0000
commit07e1aaee862c4835601c704e14fcb12e28f4e78e (patch)
tree4c01a4a477719c6bca4a3e313e0825efc35871d6 /src/radeon_driver.c
parenta8c77480e7f4ddf8c45bea3ecec7b6564c0d6452 (diff)
Improving DPMS handling on VT swich and server termination/abort: previous
version called the driver directly and too late. Unblank secondary screen explicitely. Don't rely on the value read during register save as the BIOS have blanked the secondary head. Checking if server isn't switched away before calling sync. Sanity check for possible bugs in aother areas of the code. Fixing default amount of of allocated video memory from AGP for i810: Use 16MB if less than 192MB are installed else use 24MB (Matthias Hopf).
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index ee932f3d..b4cd90f2 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -6593,6 +6593,7 @@ static Bool RADEONInitCrtc2Registers(ScrnInfoPtr pScrn, RADEONSavePtr save,
save->fp2_h_sync_strt_wid = save->crtc2_h_sync_strt_wid;
save->fp2_v_sync_strt_wid = save->crtc2_v_sync_strt_wid;
save->fp2_gen_cntl = info->SavedReg.fp2_gen_cntl | RADEON_FP2_ON;
+ save->fp2_gen_cntl &= ~(RADEON_FP2_BLANK_EN);
if (info->ChipFamily == CHIP_FAMILY_R200 ||
IS_R300_VARIANT) {