projects
/
platform
/
upstream
/
xf86-video-intel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd9df24
)
sna: And remove new bogus assertion
author
Chris Wilson
<chris@chris-wilson.co.uk>
Wed, 16 Jul 2014 11:53:02 +0000
(12:53 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Wed, 16 Jul 2014 11:53:02 +0000
(12:53 +0100)
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@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_accel.c
patch
|
blob
|
history
diff --git
a/src/sna/sna_accel.c
b/src/sna/sna_accel.c
index
f2ae139
..
97bcdcf
100644
(file)
--- 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); \