diff options
-rw-r--r-- | src/sna/kgem.c | 2 | ||||
-rw-r--r-- | src/sna/sna_accel.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c index 925e3553..76f6cae1 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -3029,6 +3029,8 @@ bool __kgem_flush(struct kgem *kgem, struct kgem_bo *bo) return false; bo->needs_flush = kgem_busy(kgem, bo->handle); + DBG(("%s: handle=%d, busy?=%d\n", + __FUNCTION__, bo->handle, bo->needs_flush)); return bo->needs_flush; } diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index a83e5cbd..b5e7e920 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -12333,7 +12333,7 @@ static bool has_shadow(struct sna *sna) static bool need_flush(struct sna *sna, struct sna_pixmap *scanout) { - DBG(("%s: scanout=%d shadow?=%d || (cpu?=%d || gpu?=%d) && !busy=%d)\n", + DBG(("%s: scanout=%d shadow?=%d, (cpu?=%d || gpu?=%d), busy=%d)\n", __FUNCTION__, scanout && scanout->gpu_bo ? scanout->gpu_bo->handle : 0, has_shadow(sna), |