Skip to content

drm/i915: Provide more information on display faults

Ville Syrjala intel-gfx intel-xe 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 1 replyIn review
  2. v18 patches 11 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/i915: Add missing else to the if ladder in missing elsedrivers/gpu/drm/i915/display/intel_display_irq.c+1 -10 replies
2/8drm/i915: Introduce a minimal plane error statedrivers/gpu/drm/i915/display/i9xx_plane.c drivers/gpu/drm/i915/display/intel_cursor.c drivers/gpu/drm/i915/display/intel_display_types.h +2 more+122 -00 replies
3/8drm/i915: Pimp display fault reportingdrivers/gpu/drm/i915/display/intel_atomic_plane.c drivers/gpu/drm/i915/display/intel_atomic_plane.h drivers/gpu/drm/i915/display/intel_display_irq.c+155 -50 replies
4/8drm/i915: Hook in display GTT faults for IVB/HSWdrivers/gpu/drm/i915/display/intel_display_irq.c drivers/gpu/drm/i915/i915_reg.h+57 -00 replies
5/8drm/i915: Hook in display GTT faults for ILK/SNBdrivers/gpu/drm/i915/display/intel_display_irq.c drivers/gpu/drm/i915/i915_reg.h+65 -10 replies
6/8drm/i915: Introduce i915_error_regsdrivers/gpu/drm/i915/i915_irq.c drivers/gpu/drm/i915/i915_irq.h drivers/gpu/drm/i915/i915_reg.h +2 more+65 -21 reply
7/8drm/i915: Un-invert {i9xx,i965}_error_mask()drivers/gpu/drm/i915/i915_irq.c+11 -110 replies
8/8drm/i915: Hook up display fault interrupts for VLV/CHVdrivers/gpu/drm/i915/display/intel_display_irq.c drivers/gpu/drm/i915/display/intel_display_irq.h drivers/gpu/drm/i915/i915_irq.c +1 more+158 -10 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchVinod GovindapillaiRodrigo Vivi
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b A-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/8] drm/i915: Provide more information on display faults

From: Ville Syrjälä <[email protected]>

Currently we just print a hardware specific bitmask when encountering any kind of display fault error. To make these errors a bit easier to decode (and perhps even analyze) I now decode the actual bits, and for plane faults provide a dump of a few (hopefully) relevant plane registers (CTL, SURF,SURFLIVE for now, which should at least help with faults cause by bad GTT alignment).

So far we only reported faults on bdw+, but I'm also hooking this stuff up for all ilk+ and vlv/chv. The older gmch platforms I left out for now, but I think i965/g4x should at least be diable in the future.

Not sure I'm 100% satisfied with how the pipe_fault_handler thing is structured, but at least it works.

v2: Adjust to intel_display changes
Add the xe gen2_error_regs stuff in the same patch as i915

Ville Syrjälä (8):
drm/i915: Add missing else to the if ladder in missing else drm/i915: Introduce a minimal plane error state drm/i915: Pimp display fault reporting
drm/i915: Hook in display GTT faults for IVB/HSW drm/i915: Hook in display GTT faults for ILK/SNB drm/i915: Introduce i915_error_regs
drm/i915: Un-invert {i9xx,i965}_error_mask() drm/i915: Hook up display fault interrupts for VLV/CHV

 drivers/gpu/drm/i915/display/i9xx_plane.c     |  41 ++
 .../gpu/drm/i915/display/intel_atomic_plane.c |   2 +-
 .../gpu/drm/i915/display/intel_atomic_plane.h |   2 +
 drivers/gpu/drm/i915/display/intel_cursor.c   |  26 ++
 .../gpu/drm/i915/display/intel_display_irq.c  | 392 +++++++++++++++++-
 .../gpu/drm/i915/display/intel_display_irq.h  |   3 +
 .../drm/i915/display/intel_display_types.h    |   7 +
 drivers/gpu/drm/i915/display/intel_sprite.c   |  36 ++
 .../drm/i915/display/skl_universal_plane.c    |  12 +
 drivers/gpu/drm/i915/i915_irq.c               |  61 ++-
 drivers/gpu/drm/i915/i915_irq.h               |   4 +
 drivers/gpu/drm/i915/i915_reg.h               |  34 ++
 drivers/gpu/drm/i915/i915_reg_defs.h          |   8 +
 drivers/gpu/drm/xe/display/ext/i915_irq.c     |  23 +
 14 files changed, 632 insertions(+), 19 deletions(-)
Signature · 1 line
2.45.3