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ä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Ville Syrjälä 2013-09-16 17:38:36 +03:00 коммит произвёл Daniel Vetter
Родитель ebdcefc6eb
Коммит c9f7fbf9ed
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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; struct drm_i915_private *dev_priv = dev->dev_private;
int error = 0; int error = 0;
intel_uncore_early_sanitize(dev);
intel_uncore_sanitize(dev); intel_uncore_sanitize(dev);
if (drm_core_check_feature(dev, DRIVER_MODESET) && if (drm_core_check_feature(dev, DRIVER_MODESET) &&