From da7487f6ac7b32ed7866af53da2925aa52ed7aae Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Sat, 19 Sep 2009 13:08:02 -0400 Subject: kms: init dga using xf86DiDGAInit fixes cursor problems in games like UT2004 and Penumbra Overture see fdo bug 24034 --- src/radeon_kms.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/radeon_kms.c') diff --git a/src/radeon_kms.c b/src/radeon_kms.c index faa0cfd..a0ed165 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"); -- cgit v1.2.3