diff options
author | David Woodhouse <dwmw2@infradead.org> | 2009-12-02 11:00:05 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-01-18 10:19:53 -0800 |
commit | 5877960869333e42ebeb733e8d9d5630ff96d350 (patch) | |
tree | b7c79b337b7e99fb42a090264f69df3ce8cfc466 /crypto/async_tx/async_raid6_recov.c | |
parent | 5deb72edb39542650c73e3fa7bf4a4a3ef14cc63 (diff) |
agp/intel-agp: Clear entire GTT on startup
commit fc61901373987ad61851ed001fe971f3ee8d96a3 upstream.
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>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'crypto/async_tx/async_raid6_recov.c')
0 files changed, 0 insertions, 0 deletions