diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-09-19 13:08:02 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-09-19 13:08:02 -0400 |
commit | da7487f6ac7b32ed7866af53da2925aa52ed7aae (patch) | |
tree | 364672d0e3a63215ee30b63c18fa5cd60c9078cd /src/radeon_kms.c | |
parent | 52279251fae9df99c569c16e2522bbd346d8ec38 (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.c | 5 |
1 files changed, 5 insertions, 0 deletions
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"); |