drm-i915: Don't tile temporary image textures.

As uploading to a tiled buffer is much slower than linear memory, don't
unless we expect to reuse the texture. This is not true for sub-image
clones, which are single shot affairs.
This commit is contained in:
Chris Wilson 2010-01-27 23:01:37 +00:00
parent f75b7c4c11
commit 6848c7c850

View file

@ -1274,7 +1274,7 @@ i915_surface_clone_subimage (i915_device_t *device,
image->base.content,
extents->width,
extents->height,
I915_TILING_DEFAULT,
I915_TILING_NONE,
FALSE);
if (unlikely (clone->intel.drm.base.status))
return clone->intel.drm.base.status;