]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Skip capturing errors from internal contexts
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 28 Jan 2020 11:34:26 +0000 (11:34 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 28 Jan 2020 12:28:21 +0000 (12:28 +0000)
commitac4721aaf776b2b2af6c753771b7f98c84cc60e8
tree233c80d30bbbf6d2ca87f1244286967709692fc7
parentada218c8984f1205f0911b331e6979e92f897dc7
drm/i915: Skip capturing errors from internal contexts

We don't want to report errors on the internal contexts to userspace,
suppressing their own, so treat them as simulated errors. These mostly
arise inside selftests and so are simulated anyway. For the rest, we can
rely on the normal debug channels in CI.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200128113426.3711294-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/selftests/mock_context.c
drivers/gpu/drm/i915/i915_gpu_error.c