Re: [git pull] drm patches for 2.6.27-rc1

From: Ingo Molnar
Date: Mon Oct 20 2008 - 06:01:54 EST



* Keith Packard <keithp@xxxxxxxxxx> wrote:

> On Sun, 2008-10-19 at 00:32 +0200, Ingo Molnar wrote:
>
> > the _real_ remapping in a graphics aperture happens on the GPU level
> > anyway, you manage an in-RAM GPU pagetable that just works like an
> > IOMMU, correct?
>
> Yes, a one-level linear MMU which uses BIOS-reserved memory.
>
> So, at least for a prototype, on 64-bit we can just use ioremap_wc and
> hold the mapping while the driver is open? Is there any huge benefit
> to using the kernel mapping?

correct. There's no benefit to using the kernel mapping - and we can add
2MB pages support to ioremap just fine and then you'll benefit from it
automatically.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/