]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit75a7108217abccd81eb650585f44db30d131655e
treeab7cd2e3cb7afcf7f50db6175980a24ccc5270dd
parentec774baeea8ca791a8900582713d96c502c896a8
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