]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Extend rpm wakelock during i915_handle_error()
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Mar 2017 17:18:40 +0000 (17:18 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Mar 2017 15:44:36 +0000 (15:44 +0000)
commit239ba0d3108eeca58b7528c1b65793ce2476f253
tree45fbed47889ea33b6f7458e8e0c3706e7a69f4c7
parentd5ccb17fb4ac71d81bc18a6a8d045fd304d4d9b8
drm/i915: Extend rpm wakelock during i915_handle_error()

We take the runtime pm wakelock during i915_handle_error() to ensure
that all paths that reach the error handler keep the device awake during
the hw reads. However, we need to extend that from the reset handler to
include the earlier capture routines.

Reported-by: Antonio Argenziano <antonio.argenziano@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michel Thierry <michel.thierry@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170314171840.25706-1-chris@chris-wilson.co.uk
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
drivers/gpu/drm/i915/i915_irq.c