|
@@ -307,7 +307,7 @@ i915_gem_execbuffer_relocate_entry(struct drm_i915_gem_object *obj,
|
|
|
target_i915_obj = target_vma->obj;
|
|
|
target_obj = &target_vma->obj->base;
|
|
|
|
|
|
- target_offset = i915_gem_obj_ggtt_offset(target_i915_obj);
|
|
|
+ target_offset = target_vma->node.start;
|
|
|
|
|
|
/* Sandybridge PPGTT errata: We need a global gtt mapping for MI and
|
|
|
* pipe_control writes because the gpu doesn't properly redirect them
|