commit | fc61901373987ad61851ed001fe971f3ee8d96a3 | [log] [tgz] |
---|---|---|
author | David Woodhouse <dwmw2@infradead.org> | Wed Dec 02 11:00:05 2009 +0000 |
committer | Eric Anholt <eric@anholt.net> | Mon Dec 07 15:29:04 2009 -0800 |
tree | 2711786140a63cbbbf7154ac1e5d2f1bc11e2b86 | |
parent | f2b115e69d46344ae7afcaad5823496d2a0d8650 [diff] |
agp/intel-agp: Clear entire GTT on startup 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>