Lines Matching defs:obj
38 struct drm_i915_gem_object *obj;
43 obj = i915_gem_object_create_lmem(i915, PAGE_ALIGN(size),
45 if (IS_ERR(obj))
48 obj = i915_gem_object_create_internal(i915, PAGE_ALIGN(size));
49 if (IS_ERR(obj))
52 i915_gem_object_set_cache_coherency(obj, I915_CACHE_NONE);
55 vma = i915_gem_object_ggtt_pin(obj, NULL, 0, 0, 0);
57 i915_gem_object_put(obj);
61 buf = i915_gem_object_pin_map_unlocked(vma->obj, I915_MAP_WC);
81 i915_gem_object_flush_map(dsb_buf->vma->obj);