summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <alex@cube.(none)>2008-03-01 15:53:42 -0500
committerAlex Deucher <alex@cube.(none)>2008-03-01 15:53:42 -0500
commit1f6a23000001f3d1c21b5c04f94714a8caa7aa8b (patch)
tree1822745db0e92d456e546f1590d1952c5e87bb16 /src
parentdee6cef8e62d0651c00319e03eea92940fd24aa4 (diff)
RADEON: only restore legacy dac regs on legacy radeons
Diffstat (limited to 'src')
-rw-r--r--src/radeon_driver.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index fccdbb41..6a168a58 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -4644,7 +4644,9 @@ void RADEONRestore(ScrnInfoPtr pScrn)
*/
if (IS_AVIVO_VARIANT)
avivo_restore_vga_regs(pScrn, restore);
- RADEONRestoreDACRegisters(pScrn, restore);
+
+ if (!IS_AVIVO_VARIANT)
+ RADEONRestoreDACRegisters(pScrn, restore);
#if 0
RADEONWaitForVerticalSync(pScrn);