mbox series

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

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

Message

Adrián Larumbe July 29, 2022, 2:46 p.m. UTC
This is v6 for a previous patch series being discussed at:

https://lore.kernel.org/dri-devel/20220718172418.584231-1-adrian.larumbe@collabora.com/j

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

Changes with respect to v5 of the same patch:

 - Expressed MMU_AS_STRIDE as a bitshift to avoid yet another magic number and
   removed misleading comment on the same line.

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 |  42 ++--
 include/uapi/drm/panfrost_drm.h          |  47 +++++
 7 files changed, 338 insertions(+), 19 deletions(-)
 create mode 100644 drivers/gpu/drm/panfrost/panfrost_dump.c
 create mode 100644 drivers/gpu/drm/panfrost/panfrost_dump.h