Lines Matching refs:bos
306 struct lima_bo **bos = submit->lbos; in lima_gem_submit() local
318 obj = drm_gem_object_lookup(file, submit->bos[i].handle); in lima_gem_submit()
335 bos[i] = bo; in lima_gem_submit()
338 err = drm_gem_lock_reservations((struct drm_gem_object **)bos, in lima_gem_submit()
345 bos, submit->nr_bos, vm); in lima_gem_submit()
355 submit->task, bos[i], in lima_gem_submit()
356 submit->bos[i].flags & LIMA_SUBMIT_BO_WRITE, in lima_gem_submit()
366 if (submit->bos[i].flags & LIMA_SUBMIT_BO_WRITE) in lima_gem_submit()
367 dma_resv_add_excl_fence(lima_bo_resv(bos[i]), fence); in lima_gem_submit()
369 dma_resv_add_shared_fence(lima_bo_resv(bos[i]), fence); in lima_gem_submit()
372 drm_gem_unlock_reservations((struct drm_gem_object **)bos, in lima_gem_submit()
376 drm_gem_object_put(&bos[i]->base.base); in lima_gem_submit()
390 drm_gem_unlock_reservations((struct drm_gem_object **)bos, in lima_gem_submit()
394 if (!bos[i]) in lima_gem_submit()
396 lima_vm_bo_del(vm, bos[i]); in lima_gem_submit()
397 drm_gem_object_put(&bos[i]->base.base); in lima_gem_submit()