diff options
author | Linus Torvalds <torvalds@woody.osdl.org> | 2006-11-22 09:37:54 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-11-22 09:37:54 -0800 |
commit | 7d915a38985d2826acbdc9dc9cca8a93e23e5278 (patch) | |
tree | 6954d28e1e835a9043c1f201c0791c390e528e7f /lib/swiotlb.c | |
parent | b42172fc7b569a0ef2b0fa38d71382969074c0e2 (diff) |
[AGP] Fix intel 965 AGP memory mapping function
This introduces a i965-specific "mask_memory()" function that knows
about the extended physical addresses that the i965 supports. This
allows us to correctly map in physical memory in the >4GB range into the
GTT.
Also simplify/clean-up the i965 case for the aperture sizing by just
returning the fixed 512kB size from "fetch_size()". We don't really
care that not all of the aperture may be visible - the only thing that
cares about the aperture size is the Intel "stolen memory" calculation,
which depends on the fixed size.
Cc: Keith Packard <keithp@keithp.com>
Cc: Eric Anholt <eric@anholt.net>
Cc: Dave Jones <davej@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/swiotlb.c')
0 files changed, 0 insertions, 0 deletions