xf86-video-intel: src/sna/sna_accel.c
Chris Wilson
ickle at kemper.freedesktop.org
Wed Jul 16 04:54:14 PDT 2014
src/sna/sna_accel.c | 1 -
1 file changed, 1 deletion(-)
New commits:
commit f33d44f41ef0f287375b7a6b1c117abff5a23b19
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed Jul 16 12:53:02 2014 +0100
sna: And remove new bogus assertion
We assert that damage is valid as we delete the Pixmap, and so we cannot
assert that the Pixmap is still valid itself.
Reported-by: Jiri Slaby <jirislaby at gmail.com>
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 f2ae139..97bcdcf 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -276,7 +276,6 @@ _assert_pixmap_contains_damage(PixmapPtr pixmap, struct sna_damage *damage, cons
#define __assert_pixmap_damage(p) do { \
struct sna_pixmap *priv__ = sna_pixmap(p); \
- assert(p->refcnt); \
if (priv__) { \
assert(priv__->gpu_damage == NULL || priv__->gpu_bo); \
assert(priv__->gpu_bo == NULL || priv__->gpu_bo->refcnt); \
More information about the xorg-commit
mailing list