mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
drm/i915: Add gen to the gpu hang ecode
for the Brothers in Triage Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
6bcda4f0df
commit
0b5492d6b5
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue