mbox series

[v4,0/2] devcoredump support for Panfrost GPU driver

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

Message

Adrián Larumbe June 22, 2022, 2:36 p.m. UTC
This is v4 for a previous patch series being discussed at:

https://lore.kernel.org/dri-devel/20220622015420.1130814-1-adrian.larumbe@collabora.com/T/#t

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

Changes with respect to v3 of the same patch:

 - Remove useless no-op when checking job slot index
 - Actually use JS_SLOT_STRIDE when selecting the right js register.
 - Explain the reason certain GFP flags are picked when allocating memory
 for the coredump file.
 - Move new JS and MMU_AS register offset macros into its own commit.

Adrián Larumbe (2):
  drm/panfrost: Add specific register offset macros for JS and MMU AS
  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 | 249 +++++++++++++++++++++++
 drivers/gpu/drm/panfrost/panfrost_dump.h |  12 ++
 drivers/gpu/drm/panfrost/panfrost_job.c  |   3 +
 drivers/gpu/drm/panfrost/panfrost_regs.h |  39 ++--
 include/uapi/drm/panfrost_drm.h          |  47 +++++
 7 files changed, 335 insertions(+), 19 deletions(-)
 create mode 100644 drivers/gpu/drm/panfrost/panfrost_dump.c
 create mode 100644 drivers/gpu/drm/panfrost/panfrost_dump.h