projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bcda4f
)
drm/i915: Add gen to the gpu hang ecode
author
Mika Kuoppala
<
[email protected]
>
Thu, 6 Nov 2014 11:03:46 +0000
(13:03 +0200)
committer
Daniel Vetter
<
[email protected]
>
Fri, 7 Nov 2014 17:42:22 +0000
(18:42 +0100)
for the Brothers in Triage
Signed-off-by: Mika Kuoppala <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/i915/i915_gpu_error.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gpu_error.c
b/drivers/gpu/drm/i915/i915_gpu_error.c
index d17360bc1cd1e6f774d368ebea50edea869efae9..89a2f3dbf9569e9242461858a965c40a43d0c745 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gpu_error.c
+++ b/
drivers/gpu/drm/i915/i915_gpu_error.c
@@
-1242,7
+1242,8
@@
static void i915_error_capture_msg(struct drm_device *dev,
ecode = i915_error_generate_code(dev_priv, error, &ring_id);
len = scnprintf(error->error_msg, sizeof(error->error_msg),
- "GPU HANG: ecode %d:0x%08x", ring_id, ecode);
+ "GPU HANG: ecode %d:%d:0x%08x",
+ INTEL_INFO(dev)->gen, ring_id, ecode);
if (ring_id != -1 && error->ring[ring_id].pid != -1)
len += scnprintf(error->error_msg + len,