Lines Matching refs:bos
308 struct lima_bo **bos = submit->lbos; in lima_gem_submit() local
320 obj = drm_gem_object_lookup(file, submit->bos[i].handle); in lima_gem_submit()
337 bos[i] = bo; in lima_gem_submit()
340 err = drm_gem_lock_reservations((struct drm_gem_object **)bos, in lima_gem_submit()
347 bos, submit->nr_bos, vm); in lima_gem_submit()
357 submit->task, bos[i], in lima_gem_submit()
358 submit->bos[i].flags & LIMA_SUBMIT_BO_WRITE, in lima_gem_submit()
367 dma_resv_add_fence(lima_bo_resv(bos[i]), fence, in lima_gem_submit()
368 submit->bos[i].flags & LIMA_SUBMIT_BO_WRITE ? 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()