If the memory bw is constrained on the GPU avoid doing the 2-pass copy
for overlaps on the render ring, and do the single pass slower BLT copy
instead - as since it has to transfer less data it will be faster.
Reported-by: Ildar Nurislamov <absorbb@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77436
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
if (bo && RQ_IS_BLT(bo->rq))
return true;
+ if (sna->render_state.gt < 2)
+ return true;
+
return kgem_ring_is_idle(&sna->kgem, KGEM_BLT);
}