diff options
Diffstat (limited to 'drivers/gpu/drm/i915/i915_debugfs.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_debugfs.c | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index ba2af4e046ed..70eec5aceabe 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c | |||
@@ -616,21 +616,28 @@ static int i915_error_state(struct seq_file *m, void *unused) | |||
616 | seq_printf(m, "Time: %ld s %ld us\n", error->time.tv_sec, | 616 | seq_printf(m, "Time: %ld s %ld us\n", error->time.tv_sec, |
617 | error->time.tv_usec); | 617 | error->time.tv_usec); |
618 | seq_printf(m, "PCI ID: 0x%04x\n", dev->pci_device); | 618 | seq_printf(m, "PCI ID: 0x%04x\n", dev->pci_device); |
619 | seq_printf(m, "EIR: 0x%08x\n", error->eir); | ||
620 | seq_printf(m, "PGTBL_ER: 0x%08x\n", error->pgtbl_er); | ||
619 | if (INTEL_INFO(dev)->gen >= 6) { | 621 | if (INTEL_INFO(dev)->gen >= 6) { |
620 | seq_printf(m, "ERROR: 0x%08x\n", error->error); | 622 | seq_printf(m, "ERROR: 0x%08x\n", error->error); |
623 | seq_printf(m, "Blitter command stream:\n"); | ||
624 | seq_printf(m, " ACTHD: 0x%08x\n", error->bcs_acthd); | ||
625 | seq_printf(m, " IPEHR: 0x%08x\n", error->bcs_ipehr); | ||
626 | seq_printf(m, " IPEIR: 0x%08x\n", error->bcs_ipeir); | ||
627 | seq_printf(m, " INSTDONE: 0x%08x\n", error->bcs_instdone); | ||
628 | seq_printf(m, " seqno: 0x%08x\n", error->bcs_seqno); | ||
621 | } | 629 | } |
622 | seq_printf(m, "EIR: 0x%08x\n", error->eir); | 630 | seq_printf(m, "Render command stream:\n"); |
623 | seq_printf(m, " PGTBL_ER: 0x%08x\n", error->pgtbl_er); | 631 | seq_printf(m, " ACTHD: 0x%08x\n", error->acthd); |
624 | seq_printf(m, " INSTPM: 0x%08x\n", error->instpm); | ||
625 | seq_printf(m, " IPEIR: 0x%08x\n", error->ipeir); | 632 | seq_printf(m, " IPEIR: 0x%08x\n", error->ipeir); |
626 | seq_printf(m, " IPEHR: 0x%08x\n", error->ipehr); | 633 | seq_printf(m, " IPEHR: 0x%08x\n", error->ipehr); |
627 | seq_printf(m, " INSTDONE: 0x%08x\n", error->instdone); | 634 | seq_printf(m, " INSTDONE: 0x%08x\n", error->instdone); |
628 | seq_printf(m, " ACTHD: 0x%08x\n", error->acthd); | ||
629 | if (INTEL_INFO(dev)->gen >= 4) { | 635 | if (INTEL_INFO(dev)->gen >= 4) { |
630 | seq_printf(m, " INSTPS: 0x%08x\n", error->instps); | ||
631 | seq_printf(m, " INSTDONE1: 0x%08x\n", error->instdone1); | 636 | seq_printf(m, " INSTDONE1: 0x%08x\n", error->instdone1); |
637 | seq_printf(m, " INSTPS: 0x%08x\n", error->instps); | ||
632 | } | 638 | } |
633 | seq_printf(m, "seqno: 0x%08x\n", error->seqno); | 639 | seq_printf(m, " INSTPM: 0x%08x\n", error->instpm); |
640 | seq_printf(m, " seqno: 0x%08x\n", error->seqno); | ||
634 | 641 | ||
635 | if (error->active_bo_count) { | 642 | if (error->active_bo_count) { |
636 | seq_printf(m, "Buffers [%d]:\n", error->active_bo_count); | 643 | seq_printf(m, "Buffers [%d]:\n", error->active_bo_count); |