diff options
-rw-r--r-- | src/i810_dri.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/i810_dri.c b/src/i810_dri.c index 3dcf5cdb..b1f7cc60 100644 --- a/src/i810_dri.c +++ b/src/i810_dri.c @@ -1497,6 +1497,11 @@ I810DRILeave(ScrnInfoPtr pScrn) xf86DrvMsg(pScrn->scrnIndex, X_ERROR,"%s\n",strerror(errno)); return FALSE; } + if (pI810->cursorARGBHandle != 0) + if (drmAgpUnbind(pI810->drmSubFD, pI810->cursorARGBHandle) != 0) { + xf86DrvMsg(pScrn->scrnIndex, X_ERROR,"%s\n",strerror(errno)); + return FALSE; + } if (pI810->agpAcquired == TRUE) drmAgpRelease(pI810->drmSubFD); pI810->agpAcquired = FALSE; |