Searched refs:busy_bo (Results 1 – 1 of 1) sorted by relevance
699 static int ttm_mem_evict_wait_busy(struct ttm_buffer_object *busy_bo, in ttm_mem_evict_wait_busy() argument705 if (!busy_bo || !ticket) in ttm_mem_evict_wait_busy()709 r = dma_resv_lock_interruptible(busy_bo->base.resv, in ttm_mem_evict_wait_busy()712 r = dma_resv_lock(busy_bo->base.resv, ticket); in ttm_mem_evict_wait_busy()720 dma_resv_unlock(busy_bo->base.resv); in ttm_mem_evict_wait_busy()731 struct ttm_buffer_object *bo = NULL, *busy_bo = NULL; in ttm_mem_evict_first() local743 if (busy && !busy_bo && ticket != in ttm_mem_evict_first()745 busy_bo = bo; in ttm_mem_evict_first()771 if (busy_bo && !ttm_bo_get_unless_zero(busy_bo)) in ttm_mem_evict_first()772 busy_bo = NULL; in ttm_mem_evict_first()[all …]