aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-08-12 15:05:47 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-08-14 10:52:41 -0400
commit3a448734902359113b0c7c3454ce4cd56dc1e61f (patch)
treeea41ee07e6ac89302f8a0acc6e70f2ed60296f8c /drivers/gpu/drm/i915/i915_drv.h
parent016970beb05da6285c2f3ed2bee1c676cb75972e (diff)
drm/i915: Print captured bo for all VM in error state
The current error state harks back to the era of just a single VM. For full-ppgtt, we capture every bo on every VM. It behoves us to then print every bo for every VM, which we currently fail to do and so miss vital information in the error state. v2: Use the vma address rather than -1! Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com> 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 541fb6f295bb..ed52ac744105 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -396,6 +396,7 @@ struct drm_i915_error_state {
396 pid_t pid; 396 pid_t pid;
397 char comm[TASK_COMM_LEN]; 397 char comm[TASK_COMM_LEN];
398 } ring[I915_NUM_RINGS]; 398 } ring[I915_NUM_RINGS];
399
399 struct drm_i915_error_buffer { 400 struct drm_i915_error_buffer {
400 u32 size; 401 u32 size;
401 u32 name; 402 u32 name;
@@ -414,6 +415,7 @@ struct drm_i915_error_state {
414 } **active_bo, **pinned_bo; 415 } **active_bo, **pinned_bo;
415 416
416 u32 *active_bo_count, *pinned_bo_count; 417 u32 *active_bo_count, *pinned_bo_count;
418 u32 vm_count;
417}; 419};
418 420
419struct intel_connector; 421struct intel_connector;