]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Record the ringbuffer associated with the request
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Jul 2016 07:08:38 +0000 (08:08 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Jul 2016 07:18:24 +0000 (08:18 +0100)
commit39431db4c735fa5a5e311228f27323dad7fb7720
tree04f37fd0d3aab12822f90133f9211fde5bb8a218
parent02fd1b17d393424a6f294849ea05811157018976
drm/i915: Record the ringbuffer associated with the request

The request tells us where to read the ringbuf from, so use that
information to simplify the error capture. If no request was active at
the time of the hang, the ring is idle and there is no information
inside the ring pertaining to the hang.

Note carefully that this will reduce the amount of information stored in
the error state - any ring without an active request will not be
recorded.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Dave Gordon <david.s.gordon@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1467616119-4093-8-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gpu_error.c