diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-07-08 09:22:46 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-08-01 19:58:57 -0700 |
commit | d1d6ca73ef548748e141747e7260798327d6a2c1 (patch) | |
tree | 0a69cbfb66f2b30d707f24861baf3399d77c350b /mm/util.c | |
parent | cda4b7d3a5b1dcbc0d8e7bad52134347798e9047 (diff) |
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 <jbarnes@virtuousgeek.org>
Reviewed-by: Simon Farnsworth <simon.farnsworth@onelan.com>
Tested-by: Artem S. Tashkinov <t.artem@mailcity.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions