Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 516125a1 authored by Jesse Barnes's avatar Jesse Barnes Committed by Greg Kroah-Hartman
Browse files

drm/agp/i915: trim stolen space to 32M

commit d1d6ca73 upstream.

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: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: default avatarSimon Farnsworth <simon.farnsworth@onelan.com>
Tested-by: default avatarArtem S. Tashkinov <t.artem@mailcity.com>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e29eaa0c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment