Skip to content

Commit c81eeea

Browse files
committed
drm/i915: Limit the auto arming of mmio debugs on vlv/chv
The capability to detect unclaimed register access was recently introduced for vlv/chv platforms. Apparently there are plenty of unclaimed access on these platforms, resulting in new dmesg warns. But as we are trying to form a beachhead for CI/Bat, all new warns are adding to the noise and thus not desirable at this point in time. Make it so that if in these platforms the automatic arming was responsible for mmio_debug enabling, ignore the warns. If user/dev wants to fix these, he can still do so by i915.mmio_debug=1234. Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1453285943-24614-1-git-send-email-mika.kuoppala@intel.com
1 parent 6fa283b commit c81eeea

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎drivers/gpu/drm/i915/intel_uncore.c‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,15 @@ __unclaimed_reg_debug(struct drm_i915_private *dev_priv,
631631
const bool read,
632632
const bool before)
633633
{
634+
/* XXX. We limit the auto arming traces for mmio
635+
* debugs on these platforms. There are just too many
636+
* revealed by these and CI/Bat suffers from the noise.
637+
* Please fix and then re-enable the automatic traces.
638+
*/
639+
if (i915.mmio_debug < 2 &&
640+
(IS_VALLEYVIEW(dev_priv) || IS_CHERRYVIEW(dev_priv)))
641+
return;
642+
634643
if (WARN(check_for_unclaimed_mmio(dev_priv),
635644
"Unclaimed register detected %s %s register 0x%x\n",
636645
before ? "before" : "after",

0 commit comments

Comments
 (0)