mbox series

[0/1] devcoredump support for Panfrost GPU driver

Message ID 20220517174216.381287-1-adrian.larumbe@collabora.com (mailing list archive)
Headers show
Series devcoredump support for Panfrost GPU driver | expand

Message

Adrian Larumbe May 17, 2022, 5:42 p.m. UTC
This patch adds support for devcoredump in the Panfrost driver. Code
structure is heavily inspired by similar functionality in the Etnaviv
driver, but the main goal of the crash dump is feeding it to a userspace
analyser that accesses the BO raw binary data to pass it to the pandecode
library.

Mesa MR under review can be found at:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14034

Adrián Larumbe (1):
  drm/panfrost: Add support for devcoredump

 drivers/gpu/drm/panfrost/Kconfig         |   1 +
 drivers/gpu/drm/panfrost/Makefile        |   3 +-
 drivers/gpu/drm/panfrost/panfrost_dump.c | 198 +++++++++++++++++++++++
 drivers/gpu/drm/panfrost/panfrost_dump.h |  12 ++
 drivers/gpu/drm/panfrost/panfrost_job.c  |   3 +
 include/uapi/drm/panfrost_drm.h          |  32 ++++
 6 files changed, 248 insertions(+), 1 deletion(-)
 create mode 100644 drivers/gpu/drm/panfrost/panfrost_dump.c
 create mode 100644 drivers/gpu/drm/panfrost/panfrost_dump.h