]> 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)
commita065050c7686f69aab171fa5aafd8eb8ab651158
tree233c80d30bbbf6d2ca87f1244286967709692fc7
parent16fa2b3a83da3d7334e872eca76538d3a4d8c36d
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