diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-03-17 00:49:59 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-03-19 20:08:43 +0300 |
commit | 873d66fb9b1d4f4cd441f84068abb5457c60f127 (patch) | |
tree | 1c827a81434d2064dcf26dd52a422eb1ab909da4 /drivers/gpu/drm/i915/Kconfig.debug | |
parent | 46b863325c2f58b564463c4d6e66ee0d4f2f3244 (diff) | |
download | linux-873d66fb9b1d4f4cd441f84068abb5457c60f127.tar.xz |
drm/i915: Trim error mask to known engines
For the convenience of userspace passing in an arbitrary reset mask,
remove unknown engines from the set of engines that are to be reset.
This means that we always follow a per-engine reset with a full-device
reset when userspace writes -1 into debugfs/i915_wedged.
Reported-by: Michał Winiarski <michal.winiarski@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Michał Winiarski <michal.winiarski@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180316215001.12391-1-chris@chris-wilson.co.uk
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions