mbox series

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

Message ID 20240807134902.458669-1-jfalempe@redhat.com (mailing list archive)
Headers show
Series drm/panic: Cleanup and add panic description | expand

Message

Jocelyn Falempe Aug. 7, 2024, 1:36 p.m. UTC
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