[PATCH 0/3] drm: Add panic handling

Noralf Trønnes noralf at tronnes.org
Sun Sep 11 18:47:39 UTC 2016


This patchset adds a way for DRM drivers to display kernel messages
during panic().

This version have lots of changes based on Daniel's review of the RFC
where he proposed a different way of interacting with the driver.

I have used this script to run some tests on the rendering code:
https://gist.github.com/notro/4f42ec20e1be1d47c98fa749ca53c805


Noralf.


Noralf Trønnes (3):
  drm: Add support for panic message output
  drm/fb_cma_helper: Add panic handling
  drm/simpledrm: Add panic handling

 drivers/gpu/drm/Kconfig                   |   1 +
 drivers/gpu/drm/Makefile                  |   2 +-
 drivers/gpu/drm/drm_drv.c                 |   3 +
 drivers/gpu/drm/drm_fb_cma_helper.c       |  10 +
 drivers/gpu/drm/drm_framebuffer.c         | 108 +++++
 drivers/gpu/drm/drm_internal.h            |   4 +
 drivers/gpu/drm/drm_panic.c               | 640 ++++++++++++++++++++++++++++++
 drivers/gpu/drm/simpledrm/simpledrm_kms.c |  11 +
 include/drm/drm_framebuffer.h             |  40 ++
 9 files changed, 818 insertions(+), 1 deletion(-)
 create mode 100644 drivers/gpu/drm/drm_panic.c

--
2.8.2



More information about the dri-devel mailing list