diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-02-15 15:25:38 +0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-02-15 17:27:18 +0400 |
commit | ee4f42b10bbc404579c2e6f446b24d898592753c (patch) | |
tree | af918261e95149922e5edaafd2b7a067489d2ae0 /drivers/gpu/drm/i915/i915_drv.h | |
parent | 52d39a21350531063bf8f4f704101bd371ea5d7d (diff) | |
download | linux-ee4f42b10bbc404579c2e6f446b24d898592753c.tar.xz |
drm/i915: Record the position of the request upon error
So that we can tally the request against the command sequence in the
ringbuffer, or merely jump to the interesting locations.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 5622ec8907f7..b8397282153b 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -183,6 +183,7 @@ struct drm_i915_error_state { struct drm_i915_error_request { long jiffies; u32 seqno; + u32 tail; } *requests; int num_requests; } ring[I915_NUM_RINGS]; |