Revert "Leave allocator running until lower-level CloseScreens are done"
Uh, oops -- the FD used to talk to the kernel is closed before the
allocator_fini function is called now.
This reverts commit 1872869e6f.
This commit is contained in:
parent
11a853bd8e
commit
cfb98f3da9
|
|
@ -3079,6 +3079,7 @@ I830CloseScreen(int scrnIndex, ScreenPtr pScreen)
|
|||
|
||||
xf86_cursors_fini (pScreen);
|
||||
|
||||
i830_allocator_fini(pScrn);
|
||||
|
||||
i965_free_video(pScrn);
|
||||
free(pI830->offscreenImages);
|
||||
|
|
@ -3098,9 +3099,7 @@ I830CloseScreen(int scrnIndex, ScreenPtr pScreen)
|
|||
pScrn->vtSema = FALSE;
|
||||
pI830->closing = FALSE;
|
||||
pScreen->CloseScreen = pI830->CloseScreen;
|
||||
(*pScreen->CloseScreen) (scrnIndex, pScreen);
|
||||
i830_allocator_fini(pScrn);
|
||||
return TRUE;
|
||||
return (*pScreen->CloseScreen) (scrnIndex, pScreen);
|
||||
}
|
||||
|
||||
static ModeStatus
|
||||
|
|
|
|||
Loading…
Reference in New Issue