]> 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)
commitb8c99ed52f65b079b982414abd836519a5ee0819
tree45fbed47889ea33b6f7458e8e0c3706e7a69f4c7
parent0f338714c28e4a29221fa362c1561b27fb0feca6
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