summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-10-11 18:55:08 -0400
committerAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-10-11 18:55:08 -0400
commit905b19df33d6f912336b65895e97775ffec07728 (patch)
tree771e5ea2d911cf538ee3ffa1b08a4c5bf8a388b3 /src/radeon_driver.c
parent7afd04c1e4ffa6e4e5ba08ae90ba002237dc282b (diff)
RADEON: small cleanup from last commit
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 10223f4e..40e1d987 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -4251,6 +4251,8 @@ void RADEONRestoreBIOSRegisters(ScrnInfoPtr pScrn, RADEONSavePtr restore)
OUTREG(RADEON_BIOS_5_SCRATCH, restore->bios_5_scratch);
if (restore->bios_6_scratch & 0x40000000)
bios_6_scratch |= 0x40000000;
+ else
+ bios_6_scratch &= ~0x40000000;
OUTREG(RADEON_BIOS_6_SCRATCH, bios_6_scratch);
}