diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-24 10:28:47 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-11-23 20:19:13 +0000 |
commit | 748ebc6017a943ec065e653e975a5e8dace77ac6 (patch) | |
tree | 4e21eba7ccc84151496bb61d5132d0af0007d611 /drivers/gpu/drm/i915/i915_drv.h | |
parent | 7bdc9ab00b1b0fdbb490f41c5c7c2fbc66fed9ee (diff) |
drm/i915: Record fence registers on error.
Having seen the effects of erroneous fencing on the batchbuffer, a
useful sanity check is to record the fence registers at the time of an
error.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
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 22d6388b331..699e71a0dab 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -166,6 +166,7 @@ struct drm_i915_error_state { u32 instdone1; u32 seqno; u64 bbaddr; + u64 fence[16]; struct timeval time; struct drm_i915_error_object { int page_count; |