I got lost in all the changes done on priv->flush and gpu_bo enough not to be able to guarantee that if flush is non-null, so is gpu_bo. Caught by Klockwork. Signed-off-by: Martin Peres <martin.peres@xxxxxxxxxxxxxxx> --- src/sna/sna_accel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index f1c136a..595faa6 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -4074,6 +4074,7 @@ prefer_gpu_bo: } if (priv->flush) { assert(!priv->shm); + assert(priv->gpu_bo); sna_add_flush_pixmap(sna, priv, priv->gpu_bo); } -- 2.7.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx