[PATCH v2 7/7] drm/i915: fix gtt space allocated for tiled objects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux