]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: Emit a user level message when resetting the GPU (or engine)
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 21 Jul 2017 12:32:31 +0000 (13:32 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 27 Jul 2017 07:38:47 +0000 (09:38 +0200)
commit7367612fe1eae573d86fc273a29af0797bfb918f
tree8eb09eee9f55b61e6964ed08b72d7ec78634b122
parent77b25a972b5d4ed93b8a86d3e383ec2092fd89b1
drm/i915: Emit a user level message when resetting the GPU (or engine)

Although a banned context will be told to -EIO off if they try to submit
more requests, we have a discrepancy between whole device resets and
per-engine resets where we report the GPU reset but not the engine
resets. This leaves a bit of mystery as to why the context was banned,
and also reduces awareness overall of when a GPU (engine) reset occurs
with its possible side-effects.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michel Thierry <michel.thierry@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170721123238.16428-13-chris@chris-wilson.co.uk
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c