• C
    drm/i915: Record the in-flight requests at the time of a hang · 52d39a21
    Chris Wilson 提交于
    Being able to tally the list of outstanding requests with the sequence
    of commands in the ringbuffer is often useful evidence with respect to
    driver corruption.
    
    Note that since this is the umpteenth per-ring data structure to be added
    to the error state, I've coallesced the nearby loops (the ringbuffer and
    batchbuffer) into a single structure along with the list of requests.  A
    later task would be to refactor the ring register state into the same
    structure.
    
    v2: Fix pretty printing of requests so that they are parsed correctly by
    intel_error_decode and use the 0x%08x format for seqno for consistency
    Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
    Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
    52d39a21
i915_irq.c 59.6 KB