]> 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)
committerJani Nikula <jani.nikula@intel.com>
Mon, 10 Oct 2016 13:06:41 +0000 (16:06 +0300)
commitf66552e9eee08d9fb7687b0382c76dad4c72e57a
tree1a7a3a2a56df2b7279532a95a0ea0b90c2d53447
parent4cfee5e5306c1e5a2d7835c01395d2066768d097
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
(cherry picked from commit dda960335e020835f7f1c12760e7f0b525b451e2)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_uncore.c