sna: Don't clear the needs_flush flag after emitting a flush on the busy bo
We use that flag to check whether we need to check whether the bo is still busy upon destruction, so only clear it if the bo is marked as idle. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
5419bbb483
commit
f8b67be8d3
|
|
@ -280,7 +280,6 @@ static inline void kgem_bo_flush(struct kgem *kgem, struct kgem_bo *bo)
|
|||
* not actualy care.
|
||||
*/
|
||||
(void)__kgem_flush(kgem, bo);
|
||||
bo->needs_flush = false;
|
||||
}
|
||||
|
||||
static inline struct kgem_bo *kgem_bo_reference(struct kgem_bo *bo)
|
||||
|
|
|
|||
Loading…
Reference in New Issue