]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Just clear the mmiodebug before a register access
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 3 Oct 2016 12:45:14 +0000 (13:45 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 3 Oct 2016 19:59:54 +0000 (20:59 +0100)
commit01f50383a05155c35fdec0372048c840727b1a6f
tree7386d2cb09b4280f719e50059cad6a76ecbfdddb
parent98373968fc7738337b92a5fc8ce78aa27fb388f7
drm/i915: Just clear the mmiodebug before a register access

When we enable the per-register access mmiodebug, it is to detect which
access is illegal. Reporting on earlier untraced access outside of the
mmiodebug does not help debugging (as the suspicion is immediately put
upon the current register which is not at fault)!

References: https://bugs.freedesktop.org/show_bug.cgi?id=97985
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: stable@vger.kernel.org
Link: http://patchwork.freedesktop.org/patch/msgid/20161003124516.12388-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_uncore.c