summaryrefslogtreecommitdiff
path: root/src/radeon_kms.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-09-19 13:08:02 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-09-19 13:08:02 -0400
commitda7487f6ac7b32ed7866af53da2925aa52ed7aae (patch)
tree364672d0e3a63215ee30b63c18fa5cd60c9078cd /src/radeon_kms.c
parent52279251fae9df99c569c16e2522bbd346d8ec38 (diff)
kms: init dga using xf86DiDGAInit
fixes cursor problems in games like UT2004 and Penumbra Overture see fdo bug 24034
Diffstat (limited to 'src/radeon_kms.c')
-rw-r--r--src/radeon_kms.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index faa0cfdf..a0ed1653 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -699,6 +699,11 @@ Bool RADEONScreenInit_KMS(int scrnIndex, ScreenPtr pScreen,
}
}
+ /* DGA setup */
+#ifdef XFreeXDGA
+ xf86DiDGAInit(pScreen, info->LinearAddr + pScrn->fbOffset);
+#endif
+
/* Init Xv */
xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, RADEON_LOGLEVEL_DEBUG,
"Initializing Xv\n");