]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Arm the unclaimed mmio debugs on suspend path
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Fri, 8 Jan 2016 13:51:20 +0000 (15:51 +0200)
committerMika Kuoppala <mika.kuoppala@intel.com>
Mon, 11 Jan 2016 16:29:28 +0000 (18:29 +0200)
commit0a76e1a679d1aeb79c6579a21047cd396c3074e6
tree062b822efd5f5a1dce40694477be9fc91f1bdfbf
parente6d616f7d4fa72fe525f6c97c0444f0f85a53e61
drm/i915: Arm the unclaimed mmio debugs on suspend path

If we go into suspend with unclaimed access detected,
it would be nice to catch that access on a next suspend path.
So instead of just notifying about it, arm the unclaimed
mmio checks on suspend side.

We want to keep the asymmetry on resume, as if it was
on resume path, it was not driver that is responsible so
no point in arming mmio debugs.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1452261080-6979-2-git-send-email-mika.kuoppala@intel.com
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_uncore.c