Skip to content
Commit d1d6ca73 authored by Jesse Barnes's avatar Jesse Barnes Committed by Eric Anholt
Browse files

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: 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>
parent cda4b7d3
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