Lines Matching refs:vw
321 struct i915_vma_work *vw = container_of(work, typeof(*vw), base); in __vma_bind() local
322 struct i915_vma_resource *vma_res = vw->vma_res; in __vma_bind()
330 if (i915_gem_object_has_unknown_state(vw->obj)) in __vma_bind()
333 vma_res->ops->bind_vma(vma_res->vm, &vw->stash, in __vma_bind()
334 vma_res, vw->cache_level, vw->flags); in __vma_bind()
339 struct i915_vma_work *vw = container_of(work, typeof(*vw), base); in __vma_release() local
341 if (vw->obj) in __vma_release()
342 i915_gem_object_put(vw->obj); in __vma_release()
344 i915_vm_free_pt_stash(vw->vm, &vw->stash); in __vma_release()
345 if (vw->vma_res) in __vma_release()
346 i915_vma_resource_put(vw->vma_res); in __vma_release()
357 struct i915_vma_work *vw; in i915_vma_work() local
359 vw = kzalloc(sizeof(*vw), GFP_KERNEL); in i915_vma_work()
360 if (!vw) in i915_vma_work()
363 dma_fence_work_init(&vw->base, &bind_ops); in i915_vma_work()
364 vw->base.dma.error = -EAGAIN; /* disable the worker by default */ in i915_vma_work()
366 return vw; in i915_vma_work()