On Wed, 14 Dec 2011 13:57:40 +0100, Daniel Vetter <daniel.vetter at ffwll.ch> wrote: > v2: Don't try to enable ppgtt on pre-snb. > > Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch> > Reviewed-by: Ben Widawsky <ben at bwidawsk.net> > --- > +void i915_gem_init_ppgtt(struct drm_device *dev) > +{ > + drm_i915_private_t *dev_priv = dev->dev_private; > + uint32_t pd_offset; > + struct intel_ring_buffer *ring; > + int i; > + > + if (!HAS_ALIASING_PPGTT(dev)) > + return; I still think it is safer to use if (dev_priv->mm.aliasing_ppgtt == NULL) return; here And pretty please can I module parameter to enable/disable ppgtt on boot. -Chris -- Chris Wilson, Intel Open Source Technology Centre