[Intel-gfx] [PATCH v2 7/7] drm/i915: fix gtt space allocated for tiled objects
Chris Wilson
chris at chris-wilson.co.uk
Tue Jan 8 10:59:26 CET 2013
On Mon, 7 Jan 2013 21:47:39 +0200, Imre Deak <imre.deak at intel.com> wrote:
> @@ -361,13 +363,15 @@ i915_gem_set_tiling(struct drm_device *dev, void *data,
> obj->map_and_fenceable =
> obj->gtt_space == NULL ||
> (obj->gtt_offset + obj->base.size <= dev_priv->mm.gtt_mappable_end &&
> - i915_gem_object_fence_ok(obj, args->tiling_mode));
> + i915_gem_object_fence_ok(obj, args->tiling_mode,
> + args->stride));
This is a big problem as this will now cause stalls where the code
expects none.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list