]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Disable GEM when a broken video BIOS takes up the whole aperture.
authorEric Anholt <eric@anholt.net>
Thu, 2 Jul 2009 16:30:50 +0000 (09:30 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 10 Jul 2009 19:29:33 +0000 (12:29 -0700)
commit6de73b2178e1b25c199c3a09ec650c0ac79460b2
tree526c57a829dab840793897b88fcb7ea67085e8eb
parent220402a651801908b6380e2439523300a2988321
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