mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-09 17:06:14 +00:00
gem_stress: submit batch if there's only one fence left
... for a copy might use up to two fences! Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
652d9eb983
commit
3f10ff85bd
@ -287,7 +287,7 @@ static void blitter_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned s
|
||||
if (dst->tiling)
|
||||
fence_storm--;
|
||||
|
||||
if (fence_storm <= 0) {
|
||||
if (fence_storm <= 1) {
|
||||
fence_storm = 0;
|
||||
intel_batchbuffer_flush(batch);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user