]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit23421e559685517980ab78af6a031e94a35b9603
tree25bed63b9bd5b0b5956da5122f95479df5e69bca
parentb377be079587ca597dac3bdac0808c0b0e4c5157
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