[RFC PATCH v3 0/6] drm/i915: Add drm_panic support

Jocelyn Falempe posted 6 patches 2 weeks, 2 days ago
drivers/gpu/drm/i915/display/i9xx_plane.c     |  23 +++
.../gpu/drm/i915/display/intel_atomic_plane.c | 147 +++++++++++++++++-
drivers/gpu/drm/i915/display/intel_bo.c       |  10 ++
drivers/gpu/drm/i915/display/intel_bo.h       |   2 +
.../drm/i915/display/intel_display_types.h    |   2 +
drivers/gpu/drm/i915/display/intel_fb_pin.c   |   5 +
drivers/gpu/drm/i915/display/intel_fb_pin.h   |   1 +
drivers/gpu/drm/i915/display/intel_fbdev.c    |   5 +
drivers/gpu/drm/i915/display/intel_fbdev.h    |   6 +
.../drm/i915/display/skl_universal_plane.c    |  27 ++++
drivers/gpu/drm/i915/gem/i915_gem_object.h    |   2 +
drivers/gpu/drm/i915/gem/i915_gem_pages.c     |  25 +++
drivers/gpu/drm/i915/i915_vma.h               |   5 +
drivers/gpu/drm/xe/display/intel_bo.c         |  11 ++
drivers/gpu/drm/xe/display/xe_fb_pin.c        |   5 +
15 files changed, 275 insertions(+), 1 deletion(-)
[RFC PATCH v3 0/6] drm/i915: Add drm_panic support
Posted by Jocelyn Falempe 2 weeks, 2 days ago
This is a draft of drm_panic support for i915.

I've tested it on the 3 intel laptops I have at my disposal.
one Haswell with 128MB of eDRAM, one Cometlake and one Alderlake.

I tested panic in both fbdev console and gnome desktop.

Best regards,

v2:
 * Add the proper abstractions to build also for Xe.
 * Fix dim checkpatch issues.

v3:
 * Add support for Y-tiled framebuffer when DPT is enabled.

Jocelyn Falempe (6):
  drm/i915/fbdev: Add intel_fbdev_get_vaddr()
  drm/i915/display/i9xx: Add a disable_tiling() for i9xx planes
  drm/i915/display: Add a disable_tiling() for skl planes
  drm/i915/gem: Add i915_gem_object_panic_map()
  drm/i915: Add drm_panic support
  drm/i915: Add drm_panic support for Y-tiling with DPT

 drivers/gpu/drm/i915/display/i9xx_plane.c     |  23 +++
 .../gpu/drm/i915/display/intel_atomic_plane.c | 147 +++++++++++++++++-
 drivers/gpu/drm/i915/display/intel_bo.c       |  10 ++
 drivers/gpu/drm/i915/display/intel_bo.h       |   2 +
 .../drm/i915/display/intel_display_types.h    |   2 +
 drivers/gpu/drm/i915/display/intel_fb_pin.c   |   5 +
 drivers/gpu/drm/i915/display/intel_fb_pin.h   |   1 +
 drivers/gpu/drm/i915/display/intel_fbdev.c    |   5 +
 drivers/gpu/drm/i915/display/intel_fbdev.h    |   6 +
 .../drm/i915/display/skl_universal_plane.c    |  27 ++++
 drivers/gpu/drm/i915/gem/i915_gem_object.h    |   2 +
 drivers/gpu/drm/i915/gem/i915_gem_pages.c     |  25 +++
 drivers/gpu/drm/i915/i915_vma.h               |   5 +
 drivers/gpu/drm/xe/display/intel_bo.c         |  11 ++
 drivers/gpu/drm/xe/display/xe_fb_pin.c        |   5 +
 15 files changed, 275 insertions(+), 1 deletion(-)


base-commit: 919b1458ccfd33ead891fa4ad1e1d06016f5a20c
-- 
2.47.1