sna: Sort the partial buffers after stealing a write buffer
It will be decoupled and not used again, but this keeps the sanity checks happy. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
8198e5872c
commit
43b1a717ba
|
|
@ -3254,7 +3254,9 @@ struct kgem_bo *kgem_create_buffer(struct kgem *kgem,
|
|||
0, bo->used, bo->mem);
|
||||
bo->need_io = 0;
|
||||
bo->write = 0;
|
||||
offset = bo->used = 0;
|
||||
offset = 0;
|
||||
bo->used = size;
|
||||
bubble_sort_partial(kgem, bo);
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue