Lines Matching refs:handle
47 u32 handle; member
574 ev->handle = entry->handle; in eb_add_vma()
576 &eb->buckets[hash_32(entry->handle, in eb_add_vma()
838 u32 handle, struct i915_vma *vma) in __eb_add_lut() argument
851 lut->handle = handle; in __eb_add_lut()
858 err = radix_tree_insert(&ctx->handles_vma, handle, vma); in __eb_add_lut()
865 if (idr_find(&eb->file->object_idr, handle) == obj) { in __eb_add_lut()
868 radix_tree_delete(&ctx->handles_vma, handle); in __eb_add_lut()
887 static struct i915_vma *eb_lookup_vma(struct i915_execbuffer *eb, u32 handle) in eb_lookup_vma() argument
897 vma = radix_tree_lookup(&eb->gem_context->handles_vma, handle); in eb_lookup_vma()
904 obj = i915_gem_object_lookup(eb->file, handle); in eb_lookup_vma()
930 err = __eb_add_lut(eb, handle, vma); in eb_lookup_vma()
950 vma = eb_lookup_vma(eb, eb->exec[i].handle); in eb_lookup_vmas()
1063 eb_get_vma(const struct i915_execbuffer *eb, unsigned long handle) in eb_get_vma() argument
1066 if (handle >= -eb->lut_size) in eb_get_vma()
1068 return &eb->vma[handle]; in eb_get_vma()
1073 head = &eb->buckets[hash_32(handle, eb->lut_size)]; in eb_get_vma()
1075 if (ev->handle == handle) in eb_get_vma()
2864 syncobj = drm_syncobj_find(eb->file, user_fence.handle); in add_timeline_fence_array()
2983 syncobj = drm_syncobj_find(eb->file, user_fence.handle); in add_fence_array()