[PATCH v2 0/5] drm/panic: Cleanup and add panic description

Jocelyn Falempe jfalempe at redhat.com
Wed Aug 7 13:36:09 UTC 2024


This small series removes unused export symbols, moves internal include to drm_crtc_internal.h, and adds the panic description, now that kmsg_dump provides this information.

v2:
 * Use a macro PANIC_MSG_LINES, instead of directly using the indice in drm_panic_set_description() (Sima)
 * Add drm_panic_clear_description() to make sure the stack allocated pointer won't be used. (Sima)
 * use the macro PANIC_MSG_LINES also in draw_panic_static_user()

Jocelyn Falempe (5):
  drm/panic: Remove space before "!" in panic message
  drm/panic: Remove useless export symbols
  drm/panic: Move drm_panic_register prototype to drm_crtc_internal.h
  drm/panic: Move copyright notice to the top
  drm/panic: Add panic description

 drivers/gpu/drm/drm_crtc_internal.h |  4 ++
 drivers/gpu/drm/drm_panic.c         | 60 +++++++++++++++++++++--------
 include/drm/drm_panic.h             | 21 +++-------
 3 files changed, 54 insertions(+), 31 deletions(-)


base-commit: f7f3ddb6e5c8dc7b621fd8c0903ea42190d67452
-- 
2.45.2



More information about the dri-devel mailing list