mirror of
https://github.com/X11Libre/xf86-video-intel.git
synced 2026-03-24 01:24:12 +00:00
Unmap XCursor AGP memory on VT switch to prevent system from lockup
(Matthias Hopf).
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user