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:
05f6183
)
sna: Silence snarky compliers
author
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 30 Jun 2014 09:55:20 +0000
(10:55 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 30 Jun 2014 09:55:20 +0000
(10:55 +0100)
0 != (void *)0
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
6eafd26
..
fab0637
100644
(file)
--- a/
src/sna/sna_accel.c
+++ b/
src/sna/sna_accel.c
@@
-17814,7
+17814,7
@@
restart:
if (sna_scanout_do_flush(sna))
sna_scanout_flush(sna);
assert(sna_accel_scanout(sna) == NULL ||
-
sna_accel_scanout(sna)->gpu_bo->needs_flush == NULL
||
+
!sna_accel_scanout(sna)->gpu_bo->needs_flush
||
sna->timer_active & (1<<(FLUSH_TIMER)));
if (sna_accel_do_throttle(sna))