Commit da1dd0db authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Make the report about a bogus stolen reserved area an error

Now that we should be properly filtering out the cases when the stolen
reserved area is disabled, let's convert the debug message about a
misplaced reserved area into an error.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171102151737.23336-2-ville.syrjala@linux.intel.comReviewed-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
parent db7fb605
...@@ -503,9 +503,9 @@ int i915_gem_init_stolen(struct drm_i915_private *dev_priv) ...@@ -503,9 +503,9 @@ int i915_gem_init_stolen(struct drm_i915_private *dev_priv)
if (reserved_base < dev_priv->mm.stolen_base || if (reserved_base < dev_priv->mm.stolen_base ||
reserved_base + reserved_size > stolen_top) { reserved_base + reserved_size > stolen_top) {
dma_addr_t reserved_top = reserved_base + reserved_size; dma_addr_t reserved_top = reserved_base + reserved_size;
DRM_DEBUG_KMS("Stolen reserved area [%pad - %pad] outside stolen memory [%pad - %pad]\n", DRM_ERROR("Stolen reserved area [%pad - %pad] outside stolen memory [%pad - %pad]\n",
&reserved_base, &reserved_top, &reserved_base, &reserved_top,
&dev_priv->mm.stolen_base, &stolen_top); &dev_priv->mm.stolen_base, &stolen_top);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment