sna: Add a DBG to the periodic flush mechanism
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
87dd6408a5
commit
85e4f48a87
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in New Issue