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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux