drm/i915: gen 9 can check for unclaimed registers too
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 25 Aug 2015 22:03:41 +0000 (19:03 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 26 Aug 2015 13:14:02 +0000 (15:14 +0200)
commit6c908bf43df417b10917c3a463d3bd413eb476fd
treeab7cd2e3cb7afcf7f50db6175980a24ccc5270dd
parent3e28878635cc3bb3159445dc9cfbdc3d34eb8daf
drm/i915: gen 9 can check for unclaimed registers too

Dear git bisect user,

Even though this is the patch that introduced the WARN() you're
bisecting, please notice that it's very likely that the problem you're
facing was already present before this commit. In other words: this
commit adds code to detect errors and give WARN()s about them, but the
errors were already there.

In order to continue your debug, please use the i915.mmio_debug
option, check the backtraces and try to discover which read or write
operation is causing the error message. Then check if this is
happening because the register does not exist or because its power
well is down when the operation is being done.

On my SKL machine, if I use i915.mmio_debug=999, this patch triggers
42 WARNs just by booting. I didn't investigate them yet. Normal users
are only going to get a single WARN due to the default i915.mmio_debug
setting.

Thank you for your comprehension,
Paulo

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/intel_uncore.c
This page took 0.037129 seconds and 5 git commands to generate.