drm/i915: Provide more information on display faults
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 1 replyIn review
- v18 patches 11 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | drm/i915: Add missing else to the if ladder in missing elsedrivers/ | +1 | 0 replies | |
| 2/8 | drm/i915: Introduce a minimal plane error statedrivers/ drivers/ drivers/ +2 more | +122 | 0 replies | |
| 3/8 | drm/i915: Pimp display fault reportingdrivers/ drivers/ drivers/ | +155 | 0 replies | |
| 4/8 | drm/i915: Hook in display GTT faults for IVB/HSWdrivers/ drivers/ | +57 | 0 replies | |
| 5/8 | drm/i915: Hook in display GTT faults for ILK/SNBdrivers/ drivers/ | +65 | 0 replies | |
| 6/8 | drm/i915: Introduce i915_error_regsdrivers/ drivers/ drivers/ +2 more | +65 | 1 reply | |
| 7/8 | drm/i915: Un-invert {i9xx,i965}_error_mask()drivers/ | +11 | 0 replies | |
| 8/8 | drm/i915: Hook up display fault interrupts for VLV/CHVdrivers/ drivers/ drivers/ +1 more | +158 | 0 replies |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Vinod Govindapillai | Rodrigo Vivi |
|---|---|---|
| 1/8 | R-b | |
| 2/8 | R-b | |
| 3/8 | R-b | |
| 4/8 | R-b | |
| 5/8 | R-b | |
| 6/8 | R-b | A-b |
| 7/8 | R-b | |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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