drm/i915: Consolidate error object printing
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 12 Oct 2016 09:05:21 +0000 (10:05 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 12 Oct 2016 11:00:33 +0000 (12:00 +0100)
commitfc4c79c37e822719cab447a448af0b48f4a52418
tree807eb3a68655437fbeb82c7a9c787a0202b36886
parent95374d759ac795c33ad4fd6f684bc5a5e280e7a4
drm/i915: Consolidate error object printing

Leave all the pretty printing to userspace and simplify the error
capture to only have a single common object printer. It makes the kernel
code more compact, and the refactoring allows us to apply more complex
transformations like compressing the output.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161012090522.367-5-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gpu_error.c