Skip to content
Commit fc619013 authored by David Woodhouse's avatar David Woodhouse Committed by Eric Anholt
Browse files

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: default avatarDavid 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: default avatarEric Anholt <eric@anholt.net>
parent f2b115e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment