drm/i915: Reduce amount of duplicate buffer information captured on error
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Aug 2016 09:48:41 +0000 (10:48 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Aug 2016 10:00:49 +0000 (11:00 +0100)
commitc0ce4663611e09182fdb81b980f6eaa5560b5b1d
tree25bed63b9bd5b0b5956da5122f95479df5e69bca
parentd045446df196e3af341aa7623de5d21049ec4f67
drm/i915: Reduce amount of duplicate buffer information captured on error

When capturing the error state, we do not need to know about every
address space - just those that are related to the error. We know which
context is active at the time, therefore we know which VM are implicated
in the error. We can then restrict the VM which we report to the
relevant subset.

v2: s/i/count_active/ (and similar)
    Rewrite label generation for "Buffers"

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/1471254551-25805-2-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c