Lines Matching defs:obj
48 if (i915_gem_object_is_stolen(vma->obj))
60 int type = intel_gt_coherent_map_type(vma->vm->gt, vma->obj, false);
62 addr = i915_gem_object_pin_map(vma->obj, type);
105 i915_gem_object_unpin_map(vma->obj);
115 struct drm_i915_gem_object *obj;
118 obj = i915_gem_object_create_lmem(i915, size, I915_BO_ALLOC_VOLATILE |
120 if (IS_ERR(obj) && i915_ggtt_has_aperture(ggtt) && !HAS_LLC(i915))
121 obj = i915_gem_object_create_stolen(i915, size);
122 if (IS_ERR(obj))
123 obj = i915_gem_object_create_internal(i915, size);
124 if (IS_ERR(obj))
125 return ERR_CAST(obj);
132 i915_gem_object_set_readonly(obj);
134 vma = i915_vma_instance(obj, vm, NULL);
141 i915_gem_object_put(obj);