Revert "drm/i915: Limit the auto arming of mmio debugs on vlv/chv"
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 11 Apr 2016 13:56:32 +0000 (16:56 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 Apr 2016 16:09:39 +0000 (19:09 +0300)
Enable the unclaimd register detection stuff on vlv/chv since we've now
fixed the known problems during suspend.

This reverts commit c81eeea6c14b212016104f4256c65f93ad230a86.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1460382992-28728-11-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/intel_uncore.c

index 24b0a9ae3df3bfc36d597002104c236f965acb6b..144700cd360bae5e321a48c886076e9203a2b265 100644 (file)
@@ -769,15 +769,6 @@ __unclaimed_reg_debug(struct drm_i915_private *dev_priv,
                      const bool read,
                      const bool before)
 {
-       /* XXX. We limit the auto arming traces for mmio
-        * debugs on these platforms. There are just too many
-        * revealed by these and CI/Bat suffers from the noise.
-        * Please fix and then re-enable the automatic traces.
-        */
-       if (i915.mmio_debug < 2 &&
-           (IS_VALLEYVIEW(dev_priv) || IS_CHERRYVIEW(dev_priv)))
-               return;
-
        if (WARN(check_for_unclaimed_mmio(dev_priv),
                 "Unclaimed register detected %s %s register 0x%x\n",
                 before ? "before" : "after",