Lines Matching refs:batch_obj
377 struct drm_i915_gem_object *batch_obj;
379 batch_obj = list_entry(objects->prev,
412 if (IS_GEN5(ring->dev) && (batch_obj != obj) && obj->gtt_offset) {
750 struct drm_i915_gem_object *batch_obj;
939 batch_obj = list_entry(objects.prev,
965 if (batch_obj->base.pending_write_domain) {
970 batch_obj->base.pending_read_domains |= I915_GEM_DOMAIN_COMMAND;
976 if (flags & I915_DISPATCH_SECURE && !batch_obj->has_global_gtt_mapping)
977 i915_gem_gtt_bind_object(batch_obj, batch_obj->cache_level);
1008 exec_start = batch_obj->gtt_offset + args->batch_start_offset;
1032 i915_gem_execbuffer_retire_commands(dev, file, ring, batch_obj);