OSDN Git Service

drm/i915: Dial down workaround debug messages
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 4 Dec 2018 17:15:30 +0000 (17:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 4 Dec 2018 18:58:26 +0000 (18:58 +0000)
For selftests like live_hangcheck, which does thousands of reset per
second, it is too verbose to log every time we re-apply the workarounds.

Remove those messages since, coupled with the dedicated selftest, it is
sufficient to only log the number of recorded workarounds at init time.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20181204171530.28583-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/intel_workarounds.c

index 4f41e32..6bcac78 100644 (file)
@@ -955,8 +955,6 @@ wa_list_apply(struct drm_i915_private *dev_priv, const struct i915_wa_list *wal)
 
        intel_uncore_forcewake_put__locked(dev_priv, fw);
        spin_unlock_irqrestore(&dev_priv->uncore.lock, flags);
-
-       DRM_DEBUG_DRIVER("Applied %u %s workarounds\n", wal->count, wal->name);
 }
 
 void intel_gt_apply_workarounds(struct drm_i915_private *dev_priv)
@@ -1126,8 +1124,6 @@ void intel_engine_apply_whitelist(struct intel_engine_cs *engine)
        for (; i < RING_MAX_NONPRIV_SLOTS; i++)
                I915_WRITE(RING_FORCE_TO_NONPRIV(base, i),
                           i915_mmio_reg_offset(RING_NOPID(base)));
-
-       DRM_DEBUG_DRIVER("Applied %u %s workarounds\n", wal->count, wal->name);
 }
 
 static void rcs_engine_wa_init(struct intel_engine_cs *engine)