aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2011-11-03 17:15:13 -0400
committerKeith Packard <keithp@keithp.com>2011-11-03 19:17:57 -0400
commit680da876f44a644aee891e1d0df5a560cfa4720e (patch)
tree17c1789e558a33a71586f8310657555b9697247d /drivers
parent4b9de737fad5bd8993e6070530802de22f32744d (diff)
drm/i915: enable cacheable objects on Ivybridge
IVB supports these bits as well. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/i915/i915_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index a83859767d48..ed0b68fdb970 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -3613,7 +3613,7 @@ struct drm_i915_gem_object *i915_gem_alloc_object(struct drm_device *dev,
3613 obj->base.write_domain = I915_GEM_DOMAIN_CPU; 3613 obj->base.write_domain = I915_GEM_DOMAIN_CPU;
3614 obj->base.read_domains = I915_GEM_DOMAIN_CPU; 3614 obj->base.read_domains = I915_GEM_DOMAIN_CPU;
3615 3615
3616 if (IS_GEN6(dev)) { 3616 if (IS_GEN6(dev) || IS_GEN7(dev)) {
3617 /* On Gen6, we can have the GPU use the LLC (the CPU 3617 /* On Gen6, we can have the GPU use the LLC (the CPU
3618 * cache) for about a 10% performance improvement 3618 * cache) for about a 10% performance improvement
3619 * compared to uncached. Graphics requests other than 3619 * compared to uncached. Graphics requests other than