From 8f4d90b85174be96535b0c8c7fe001b0a0fe9d43 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Mon, 7 Jan 2013 10:43:13 +0100 Subject: [PATCH] drm/i915: reset unclaimed write errors on haswell This could very well be caused by dirt left behind by the BIOS, so reset the unclaimed register write bit on takeover. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=58897 Signed-off-by: Daniel Vetter --- drivers/gpu/drm/i915/intel_pm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index e6f54ff..40f1647 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -4379,6 +4379,9 @@ void intel_gt_reset(struct drm_device *dev) if (IS_IVYBRIDGE(dev) || IS_HASWELL(dev)) __gen6_gt_force_wake_mt_reset(dev_priv); } + + if (IS_HASWELL(dev)) + I915_WRITE_NOTRACE(GEN7_ERR_INT, ERR_INT_MMIO_UNCLAIMED); } void intel_gt_init(struct drm_device *dev) -- 1.7.10.4