xf86-video-intel: src/sna/sna_accel.c
Chris Wilson
ickle at kemper.freedesktop.org
Sun Jul 26 08:46:57 PDT 2015
src/sna/sna_accel.c | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit c7d0acf78521d90cfbf087bff108d7c3807a79d2
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Sun Jul 26 16:46:03 2015 +0100
sna: Add a DBG trace to reusing pixmap headers
References: https://bugs.freedesktop.org/show_bug.cgi?id=91467#c9
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 049d414..0fabb4f 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -878,6 +878,9 @@ __pop_freed_pixmap(struct sna *sna)
pixmap = sna->freed_pixmap;
sna->freed_pixmap = pixmap->devPrivate.ptr;
+ DBG(("%s: reusing freed pixmap=%ld header\n",
+ __FUNCTION__, pixmap->drawable.serialNumber));
+
assert(pixmap->refcnt == 0);
assert(sna_pixmap(pixmap));
assert(sna_pixmap(pixmap)->header);
More information about the xorg-commit
mailing list