Lines Matching defs:from_obj
382 struct drm_i915_gem_object *from_obj = ring->last_context_obj;
386 KASSERT(!(from_obj != NULL && from_obj->pin_count == 0),
389 if (from_obj == to->obj)
412 else if (from_obj == to->obj) /* not yet expected */
427 if (from_obj != NULL) {
428 from_obj->base.read_domains = I915_GEM_DOMAIN_INSTRUCTION;
429 i915_gem_object_move_to_active(from_obj, ring,
438 from_obj->dirty = 1;
439 KASSERT(from_obj->ring == ring, ("i915_gem_context: from_ring != ring"));
440 i915_gem_object_unpin(from_obj);
442 drm_gem_object_unreference(&from_obj->base);