public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/vlv: disable PPGTT on early revs
@ 2014-06-13 15:32 Jesse Barnes
  2014-06-13 15:54 ` Ville Syrjälä
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jesse Barnes @ 2014-06-13 15:32 UTC (permalink / raw)
  To: intel-gfx

Early revs didn't have PPGTT support, so disable there.

References: https://bugs.freedesktop.org/show_bug.cgi?id=79669
References: https://bugs.freedesktop.org/show_bug.cgi?id=79670
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
---
 drivers/gpu/drm/i915/i915_gem_gtt.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
index 8b3cde7..01287d9 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
@@ -63,6 +63,10 @@ static int sanitize_enable_ppgtt(struct drm_device *dev, int enable_ppgtt)
 	}
 #endif
 
+	/* Early VLV doesn't have this */
+	if (IS_VALLEYVIEW(dev) && dev->pdev->revision < 0xc)
+		return 0;
+
 	return HAS_ALIASING_PPGTT(dev) ? 1 : 0;
 }
 
-- 
1.7.9.5

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

end of thread, other threads:[~2014-06-13 16:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-13 15:32 [PATCH] drm/i915/vlv: disable PPGTT on early revs Jesse Barnes
2014-06-13 15:54 ` Ville Syrjälä
2014-06-13 16:02   ` Chris Wilson
2014-06-13 16:31     ` Jesse Barnes
2014-06-13 16:09   ` Jesse Barnes
2014-06-13 16:16 ` [PATCH] drm/i915/vlv: disable PPGTT on early revs v2 Jesse Barnes
2014-06-13 16:28 ` [PATCH] drm/i915/vlv: disable PPGTT on early revs v3 Jesse Barnes
2014-06-13 16:45   ` Ville Syrjälä
2014-06-13 16:52     ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox