]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use ELK stolen memory reserved detection for ILK
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 2 Nov 2017 15:17:37 +0000 (17:17 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 15 Nov 2017 16:49:10 +0000 (18:49 +0200)
commit9a394934ae30e1ddb96263c550c2484cf6a39024
tree4797dca912915bc77edcb9be99e880c400c94ded
parenteb7b75684afeb8146123bad5316d60456af1625b
drm/i915: Use ELK stolen memory reserved detection for ILK

While I have no solid proof that ILK follows the ELK path when it
comes to the stolen memory reserved area, there are some hints that
it might be the case. Unfortunately my ILK doesn't have this enabled,
and no way to enable it via the BIOS it seems.

So let's have ILK use the ELK code path, and let's toss in a WARN
into the code to see if we catch anyone with an ILK that has this
enabled to further analyze the situation.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171102151737.23336-3-ville.syrjala@linux.intel.com
Acked-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
drivers/gpu/drm/i915/i915_gem_stolen.c