From: Alexei Podtelezhnikov <apotele@xxxxxxxxx> Once a typo is fixed, the debug build triggers an assertion failure. Given that the normal build is just fine, the assert might be wrong. Signed-off-by: Alexei Podtelezhnikov <apotele@xxxxxxxxx> --- src/sna/compiler.h | 2 +- src/sna/sna_accel.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sna/compiler.h b/src/sna/compiler.h index 2e579b15..c3d98797 100644 --- a/src/sna/compiler.h +++ b/src/sna/compiler.h @@ -50,7 +50,7 @@ #define must_check #define constant #define pure -#define tighly_packed +#define tightly_packed #define flatten #define nonnull #define page_aligned diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index ee857a14..bf1edec8 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -17410,7 +17410,7 @@ void sna_accel_flush(struct sna *sna) assert(!priv->flush); ret = sna_pixmap_move_to_cpu(priv->pixmap, MOVE_READ | MOVE_WRITE); - assert(!ret || priv->gpu_bo == NULL); + assert(ret || priv->gpu_bo == NULL); if (priv->pixmap->refcnt == 0) { sna_damage_destroy(&priv->cpu_damage); __sna_free_pixmap(sna, priv->pixmap, priv); -- 2.26 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx