OSDN Git Service

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)
commit03d0ed8a8e93005417c2aa8ea735b247e7a9d640
tree233c80d30bbbf6d2ca87f1244286967709692fc7
parent6f280b133dc2468d86ecb5c3c7c5dbc4f23e49fc
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