xf86-video-intel: src/sna/sna_dri2.c
Chris Wilson
ickle at kemper.freedesktop.org
Fri Nov 13 11:06:41 PST 2015
src/sna/sna_dri2.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 2d26643cab33a32847afaf13b50d326d09d58bf7
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Fri Nov 13 19:03:36 2015 +0000
sna/dri2: Drop the reference on the fence when complete
Fixes regression from
commit 8d9e496670f48b4eec64dfe1bcedb49793cf3073
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed Jul 22 11:14:01 2015 +0100
sna/dri2: Take over the placeholder vblank
After noting the fence was complete, we would clear it. But I forgot
that we actually held a reference on to it, and so we would leak the 64k
batch, and starve the system of available memory in about 18 minutes of
SwapBuffers.
Reported-by: Arkadiusz Miskiewicz <arekm at maven.pl>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92911
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index 6f5e9f7..f4fa081 100644
--- a/src/sna/sna_dri2.c
+++ b/src/sna/sna_dri2.c
@@ -2527,6 +2527,7 @@ static bool sna_dri2_blit_complete(struct sna_dri2_event *info)
}
DBG(("%s: blit finished\n", __FUNCTION__));
+ kgem_bo_destroy(&info->sna->kgem, info->bo);
info->bo = NULL;
return true;
}
More information about the xorg-commit
mailing list