mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
gem_stress: Assert we have no pending ops when using the CPU
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
f40d54e132
commit
75f7e81fbc
@ -242,6 +242,8 @@ static void cpu_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned src_y
|
||||
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y,
|
||||
unsigned logical_tile_no)
|
||||
{
|
||||
assert(batch->ptr == batch->buffer);
|
||||
|
||||
if (options.ducttape)
|
||||
drm_intel_bo_wait_rendering(dst->bo);
|
||||
|
||||
@ -262,6 +264,8 @@ static void prw_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned src_y
|
||||
uint32_t tmp_tile[options.tile_size*options.tile_size];
|
||||
int i;
|
||||
|
||||
assert(batch->ptr == batch->buffer);
|
||||
|
||||
if (options.ducttape)
|
||||
drm_intel_bo_wait_rendering(dst->bo);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user