Skip to content

Commit 680da87

Browse files
jbarnes993keith-packard
authored andcommitted
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>
1 parent 4b9de73 commit 680da87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/gpu/drm/i915/i915_gem.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3613,7 +3613,7 @@ struct drm_i915_gem_object *i915_gem_alloc_object(struct drm_device *dev,
36133613
obj->base.write_domain = I915_GEM_DOMAIN_CPU;
36143614
obj->base.read_domains = I915_GEM_DOMAIN_CPU;
36153615

3616-
if (IS_GEN6(dev)) {
3616+
if (IS_GEN6(dev) || IS_GEN7(dev)) {
36173617
/* On Gen6, we can have the GPU use the LLC (the CPU
36183618
* cache) for about a 10% performance improvement
36193619
* compared to uncached. Graphics requests other than

0 commit comments

Comments
 (0)