OSDN Git Service

drm/i915: Reset only affected engines when handling error capture
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 7 Jun 2019 08:25:53 +0000 (09:25 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 7 Jun 2019 11:47:37 +0000 (12:47 +0100)
commitb61ea001b2df056ca2088ee8c3bf5c9fd01593c4
tree2b06861ca9ce44e11614d8595a10fa0aa88743f4
parentbc7b488b1d1c71dc4c5182206911127bc6c410d6
drm/i915: Reset only affected engines when handling error capture

Pass down the engine mask to i915_clear_error_registers so only affected
engines can be reset on the Gen6/7 path.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190607082557.31670-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/gt/intel_reset.c
drivers/gpu/drm/i915/gt/intel_reset.h
drivers/gpu/drm/i915/i915_gem_gtt.c