drm/i915: Extend BIOS stolen mem handling to all platform
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 11 Sep 2014 11:28:08 +0000 (13:28 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 19 Sep 2014 12:41:19 +0000 (14:41 +0200)
commit40bae736116233a7e46711a9d28fc72d0e7d33eb
tree1ed20b361de2f5ca90d33aa836fcbea08d602a02
parent4144f9b5e003e65b7e4be6abfff133bc83e73fec
drm/i915: Extend BIOS stolen mem handling to all platform

Based upon a patch from Deepak, but reworked to only apply on gen7+
and with the logic a bit clarified.

v2: Fix s/SHIFT/MASK/ fumble that Ville spotted.

Cc: Deepak S <deepak.s@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_stolen.c
drivers/gpu/drm/i915/i915_reg.h