On Tue, May 07, 2013 at 11:50:47AM -0700, Jesse Barnes wrote:
> @@ -62,7 +62,10 @@ static unsigned long i915_stolen_to_physical(struct 
> drm_device *dev)
>        * its value of TOLUD.
>        */
>       base = 0;
> -     if (INTEL_INFO(dev)->gen >= 6) {
> +     if (IS_VALLEYVIEW(dev)) {
> +             pci_read_config_dword(pdev, 0x5c, &base);
> +             base &= ((1<<20) - 1);

Woah, only the low 1 MiB of the physical address is valid?
-Chris

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

Reply via email to