summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/savage_dri.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/savage_dri.c b/src/savage_dri.c
index 69563bd..8750925 100644
--- a/src/savage_dri.c
+++ b/src/savage_dri.c
@@ -1070,6 +1070,11 @@ Bool SAVAGEDRIScreenInit( ScreenPtr pScreen )
return FALSE;
}
+ /* Linux kernel DRM broken in 2.6.30 through 2.6.39 */
+ if (pDRIInfo->hFrameBuffer == pSAVAGEDRIServer->aperture.handle)
+ xf86DrvMsg( pScrn->scrnIndex, X_WARNING,
+ "[drm] Detected broken drm maps. Please upgrade to linux kernel 3.x\n");
+
if ( !SAVAGEDRIBuffersInit( pScreen ) ) {
SAVAGEDRICloseScreen( pScreen );
return FALSE;