https://bugs.freedesktop.org/show_bug.cgi?id=102543
--- Comment #5 from Chris Wilson chris@chris-wilson.co.uk --- commit d7a133d886b45651e36e7065998b1413d379ac1f Author: Chris Wilson chris@chris-wilson.co.uk Date: Thu Sep 7 14:44:41 2017 +0100
drm/i915: Disable mmio debugging during user access
If the user bypasses i915 and accesses mmio directly, that easily confuses our automatic mmio debugging (any error we then detect is likely to be as a result of the user). Since we expect userspace to open debugfs/i915_forcewake_user if i915.ko is loaded and they want mmio access, that makes the opportune time to disable our debugging for duration of the bypass.
v2: Move the fiddling of uncore internals to uncore.c
The issue in intel_reg_dump is still there, just not triggering a kernel warning.
dri-devel@lists.freedesktop.org