From: Ville Syrjälä Date: Mon, 16 Sep 2013 14:38:36 +0000 (+0300) Subject: drm/i915: Call intel_uncore_early_sanitize() during resume X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c9f7fbf9ed05eb92d63a2f4afbd76020572a0dbd;p=linux-beck.git drm/i915: Call intel_uncore_early_sanitize() during resume Call intel_uncore_early_sanitize() first thing during resume to prevent stale BIOS leftovers from being reported as unclaimed register access. Signed-off-by: Ville Syrjälä Reviewed-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index 827c274a8f20..8ebb0d12e912 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -581,6 +581,8 @@ static int __i915_drm_thaw(struct drm_device *dev, bool restore_gtt_mappings) struct drm_i915_private *dev_priv = dev->dev_private; int error = 0; + intel_uncore_early_sanitize(dev); + intel_uncore_sanitize(dev); if (drm_core_check_feature(dev, DRIVER_MODESET) &&