From: Linus Torvalds Date: Wed, 22 Nov 2006 17:37:54 +0000 (-0800) Subject: [AGP] Fix intel 965 AGP memory mapping function X-Git-Tag: v2.6.19~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d915a38985d2826acbdc9dc9cca8a93e23e5278;p=pandora-kernel.git [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 Cc: Eric Anholt Cc: Dave Jones Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed