* [PATCH] drm/i915: enable cacheable objects on Ivybridge
@ 2011-11-03 21:15 Jesse Barnes
2011-11-03 22:13 ` Daniel Vetter
2011-11-04 14:25 ` Eugeni Dodonov
0 siblings, 2 replies; 3+ messages in thread
From: Jesse Barnes @ 2011-11-03 21:15 UTC (permalink / raw)
To: intel-gfx
IVB supports these bits as well.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
---
drivers/gpu/drm/i915/i915_gem.c | 2 +-
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 d18b07a..c0d26b1 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,
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
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] drm/i915: enable cacheable objects on Ivybridge
2011-11-03 21:15 [PATCH] drm/i915: enable cacheable objects on Ivybridge Jesse Barnes
@ 2011-11-03 22:13 ` Daniel Vetter
2011-11-04 14:25 ` Eugeni Dodonov
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Vetter @ 2011-11-03 22:13 UTC (permalink / raw)
To: Jesse Barnes; +Cc: intel-gfx
On Thu, Nov 03, 2011 at 02:15:13PM -0700, Jesse Barnes wrote:
> IVB supports these bits as well.
>
> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Oh dear, collective blindness ....
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
--
Daniel Vetter
Mail: daniel@ffwll.ch
Mobile: +41 (0)79 365 57 48
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/i915: enable cacheable objects on Ivybridge
2011-11-03 21:15 [PATCH] drm/i915: enable cacheable objects on Ivybridge Jesse Barnes
2011-11-03 22:13 ` Daniel Vetter
@ 2011-11-04 14:25 ` Eugeni Dodonov
1 sibling, 0 replies; 3+ messages in thread
From: Eugeni Dodonov @ 2011-11-04 14:25 UTC (permalink / raw)
To: Jesse Barnes; +Cc: intel-gfx
[-- Attachment #1.1: Type: text/plain, Size: 279 bytes --]
On Thu, Nov 3, 2011 at 19:15, Jesse Barnes <jbarnes@virtuousgeek.org> wrote:
> IVB supports these bits as well.
>
> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
>
Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
--
Eugeni Dodonov
<http://eugeni.dodonov.net/>
[-- Attachment #1.2: Type: text/html, Size: 682 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-11-04 14:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-03 21:15 [PATCH] drm/i915: enable cacheable objects on Ivybridge Jesse Barnes
2011-11-03 22:13 ` Daniel Vetter
2011-11-04 14:25 ` Eugeni Dodonov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox