summaryrefslogtreecommitdiff
path: root/xserver/hw/xfree86/modes/xf86Crtc.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-10-31 14:09:45 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-10-31 14:09:45 +0000
commit80408f471074022f7300901bf92a1533dae3f8da (patch)
tree37ed25a9624c9e24630dcb235c843abc131cef7e /xserver/hw/xfree86/modes/xf86Crtc.c
parent8d7a9cbb99636c52f7ead5912f5f2bf2d9f39ebf (diff)
Update to server 1.6.5.
Diffstat (limited to 'xserver/hw/xfree86/modes/xf86Crtc.c')
-rw-r--r--xserver/hw/xfree86/modes/xf86Crtc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/xserver/hw/xfree86/modes/xf86Crtc.c b/xserver/hw/xfree86/modes/xf86Crtc.c
index 546ae35b3..ec2089d09 100644
--- a/xserver/hw/xfree86/modes/xf86Crtc.c
+++ b/xserver/hw/xfree86/modes/xf86Crtc.c
@@ -771,6 +771,9 @@ xf86CrtcScreenInit (ScreenPtr screen)
config->CloseScreen = screen->CloseScreen;
screen->CloseScreen = xf86CrtcCloseScreen;
+#ifdef XFreeXDGA
+ _xf86_di_dga_init_internal(screen);
+#endif
#ifdef RANDR_13_INTERFACE
return RANDR_INTERFACE_VERSION;
#else
@@ -1884,6 +1887,10 @@ xf86SetScrnInfoModes (ScrnInfoPtr scrn)
}
}
scrn->currentMode = scrn->modes;
+#ifdef XFreeXDGA
+ if (scrn->pScreen)
+ _xf86_di_dga_reinit_internal(scrn->pScreen);
+#endif
}
static void