From: Jesse Barnes Date: Thu, 8 Jul 2010 16:22:46 +0000 (-0700) Subject: drm/agp/i915: trim stolen space to 32M X-Git-Tag: v2.6.36-rc1~540^2~11^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1d6ca73ef548748e141747e7260798327d6a2c1;p=pandora-kernel.git drm/agp/i915: trim stolen space to 32M Some BIOSes will claim a large chunk of stolen space. Unless we reclaim it, our aperture for remapping buffer objects will be constrained. So clamp the stolen space to 32M and ignore the rest. Fixes https://bugzilla.kernel.org/show_bug.cgi?id=15469 among others. Adding the ignored stolen memory back into the general pool using the memory hotplug code is left as an exercise for the reader. Signed-off-by: Jesse Barnes Reviewed-by: Simon Farnsworth Tested-by: Artem S. Tashkinov Signed-off-by: Eric Anholt --- Reading git-diff-tree failed