On Wed,  1 Sep 2010 22:30:10 +0200, Daniel Vetter <[email protected]> 
wrote:
> Use the detection from intel-gtt.ko instead. Hooray!
> 
> Also move the stolen mem allocator to the other gtt stuff in dev_priv->mem.
> 
> Signed-off-by: Daniel Vetter <[email protected]>
> ---
> @@ -2106,15 +1940,12 @@ int i915_driver_load(struct drm_device *dev, unsigned 
> long flags)
>                        "performance may suffer.\n");
>       }
>  
> -     ret = i915_probe_agp(dev, &agp_size, &prealloc_size, &prealloc_start);
> -     if (ret)
> +     dev_priv->mm.gtt = intel_gtt_get();
> +     if (!dev_priv->mm.gtt)
DRM_ERROR("Failed to initialize GTT\n");
ret = -ENODEV;
>               goto out_iomapfree;

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to