drm/i915: Disable GEM when a broken video BIOS takes up the whole aperture.
commit2a34f5e6b61c7e8f3b6f25847bcda88511b0ead4
authorEric Anholt <eric@anholt.net>
Thu, 2 Jul 2009 16:30:50 +0000 (2 09:30 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 10 Jul 2009 19:29:33 +0000 (10 12:29 -0700)
tree526c57a829dab840793897b88fcb7ea67085e8eb
parente99da35f060f9a3407f7def474a1df31f3b8643a
drm/i915: Disable GEM when a broken video BIOS takes up the whole aperture.

This is seen on some G41 systems, where the BIOS will consume all but
a few KB of the aperture.  This should be bad for all operating systems, as
it means that the OS can't dynamically manage memory between graphics and
the rest of the system, and OSes that did static memory management
statically add memory in addition to the BIOS allocation anyway.  So, instead
of working around it, just fail out verbosely.

fd.o bug #21574

Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
drivers/gpu/drm/i915/i915_dma.c