]> 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)
commit5ca75bfa26473dfcde5ac9f4e73e69e801693b1e
tree4797dca912915bc77edcb9be99e880c400c94ded
parentb7034332f3031870dc9b97e29c53b0e83b9e3dfa
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