All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: Enable full PPGTT on gen7
@ 2014-09-05 13:13 Michel Thierry
  2014-09-08  7:43 ` Daniel Vetter
  2014-09-09 11:57 ` Chris Wilson
  0 siblings, 2 replies; 11+ messages in thread
From: Michel Thierry @ 2014-09-05 13:13 UTC (permalink / raw)
  To: intel-gfx

Use full PPGTT as the default option in gen7.
Note that aliasing PPGTT is the default option for gen8 (see HAS_PPGTT).

This may well come back to bite me later.

Signed-off-by: Michel Thierry <michel.thierry@intel.com>
---
 drivers/gpu/drm/i915/i915_gem_gtt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
index fc46647..30ab56a 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
@@ -59,7 +59,7 @@ static int sanitize_enable_ppgtt(struct drm_device *dev, int enable_ppgtt)
 		return 0;
 	}
 
-	return HAS_ALIASING_PPGTT(dev) ? 1 : 0;
+	return HAS_PPGTT(dev) ? 2 : HAS_ALIASING_PPGTT(dev) ? 1 : 0;
 }
 
 
-- 
2.0.3

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-09-09 15:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-05 13:13 [PATCH] drm/i915: Enable full PPGTT on gen7 Michel Thierry
2014-09-08  7:43 ` Daniel Vetter
2014-09-09 11:57 ` Chris Wilson
2014-09-09 12:34   ` Ville Syrjälä
2014-09-09 12:41     ` Thierry, Michel
2014-09-09 13:07       ` Chris Wilson
2014-09-09 13:30         ` Ville Syrjälä
2014-09-09 13:55           ` Chris Wilson
2014-09-09 15:12             ` Daniel Vetter
2014-09-09 15:22               ` Chris Wilson
2014-09-09 15:29             ` Chris Wilson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.