agp/intel-agp: Clear entire GTT on startup
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 2 Dec 2009 11:00:05 +0000 (11:00 +0000)
committerEric Anholt <eric@anholt.net>
Mon, 7 Dec 2009 23:29:04 +0000 (15:29 -0800)
Some BIOSes fail to initialise the GTT, which will cause DMA faults when
the IOMMU is enabled. We need to clear the whole thing to point at the
scratch page, not just the part that Linux is going to use.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
[anholt: Note that this may also help with stability in the presence of
driver bugs, by not drawing to memory we don't own]
Signed-off-by: Eric Anholt <eric@anholt.net>

No differences found