drm/i915: Resolving the memory region conflict for Stolen area
authorAkash Goel <akash.goel@intel.com>
Mon, 13 Jan 2014 10:55:21 +0000 (16:25 +0530)
committerJani Nikula <jani.nikula@intel.com>
Mon, 3 Mar 2014 09:51:15 +0000 (11:51 +0200)
commit3617dc9675f0184b7bb210cfa34f3cac928d8055
tree745ffee7bd26029d886bfa0a371de0bbf692f54a
parentb6ab66aa5d376583a17137cbb2d3a728f29acae2
drm/i915: Resolving the memory region conflict for Stolen area

There is a conflict seen when requesting the kernel to reserve
the physical space used for the stolen area. This is because
some BIOS are wrapping the stolen area in the root PCI bus, but have
an off-by-one error. As a workaround we retry the reservation with an
offset of 1 instead of 0.

v2: updated commit message & the comment in source file (Daniel)

Signed-off-by: Akash Goel <akash.goel@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Tested-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_gem_stolen.c