drm/i915: enable cacheable objects on Ivybridge
Subsystems (2)
PATCH 1/1 drm/i915: enable cacheable objects on Ivybridge
IVB supports these bits as well.
Signed-off-by Jesse Barnes <[email protected]>
--- drivers/gpu/drm/i915/i915_gem.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/i915/i915_gem.c +1 -1
@@ -3613,7 +3613,7 @@ struct drm_i915_gem_object *i915_gem_alloc_object(struct drm_device *dev, obj->base.write_domain =I915_GEM_DOMAIN_CPU ; obj->base.read_domains =I915_GEM_DOMAIN_CPU ; -if (IS_GEN6 (dev)) { +if (IS_GEN6 (dev) ||IS_GEN7 (dev)) {/* On Gen6, we can have the GPU use the LLC (the CPU * cache) for about a 10% performance improvement * compared to uncached. Graphics requests other than
Signature · 1 line
1.7.4.1
Quoted 3 lines · Jesse Barnes
IVB supports these bits as well.
Signed-off-by Jesse Barnes <[email protected]>
Oh dear, collective blindness ....
Reviewed-by Daniel Vetter <[email protected]>
Signature · 3 lines
Daniel Vetter Mail: [email protected] Mobile: +41 (0)79 365 57 48
Quoted 4 lines · Jesse Barnes
IVB supports these bits as well.
Signed-off-by Jesse Barnes <[email protected]>
Reviewed-by Eugeni Dodonov <[email protected]>
Signature · 2 lines
Eugeni Dodonov <http://eugeni.dodonov.net/>
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx