summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-08-07 20:24:15 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-08-14 17:50:41 +0200
commiteb5be9d0e7e78fd2b9f34c63dd2535ab6f985739 (patch)
tree2307042a7d026c1433993d9e4443c14252afaf5f /drivers/gpu/drm/i915/i915_drv.h
parent031a8936dc660e7ae2485eb7493eba1876cf25fe (diff)
downloadlwn-eb5be9d0e7e78fd2b9f34c63dd2535ab6f985739.tar.gz
lwn-eb5be9d0e7e78fd2b9f34c63dd2535ab6f985739.zip
drm/i915: Report IOMMU enabled status for GPU hangs
The IOMMU for Intel graphics has historically had many issues resulting in random GPU hangs. Lets include its status when capturing the GPU hang error state for post-mortem analysis. 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.h1
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 a8ac36dbf24b..5283db90477c 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -484,6 +484,7 @@ struct drm_i915_error_state {
struct timeval time;
char error_msg[128];
+ int iommu;
u32 reset_count;
u32 suspend_count;