[PATCH v2 0/1] devcoredump support for Panfrost GPU driver
Adrián Larumbe
adrian.larumbe at collabora.com
Tue Jun 21 02:32:03 UTC 2022
This is v2 for a previous patch series being discussed at
https://lore.kernel.org/dri-devel/20220517174216.381287-1-adrian.larumbe@collabora.com/.
Mesa MR under review can be found at:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14034
Changes with respect to v1 of the same patch:
- Change the list of dumped registers to those of greatest debugging value.
- Fix bug where an invalid bomap header wouldn't be dumped
- Changed the way that a decision is made whether to dump a BOMAP header so
that no compiler warning supression has to be done.
- Changed magic number for header fields to something more representative.
- Changed the dump header format to a union whose members are the different
header types.
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 | 233 +++++++++++++++++++++++
drivers/gpu/drm/panfrost/panfrost_dump.h | 12 ++
drivers/gpu/drm/panfrost/panfrost_job.c | 3 +
include/uapi/drm/panfrost_drm.h | 44 +++++
6 files changed, 295 insertions(+), 1 deletion(-)
create mode 100644 drivers/gpu/drm/panfrost/panfrost_dump.c
create mode 100644 drivers/gpu/drm/panfrost/panfrost_dump.h
--
2.36.1
More information about the dri-devel
mailing list