]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panfrost: Add support for devcoredump
authorAdrián Larumbe <adrian.larumbe@collabora.com>
Fri, 29 Jul 2022 14:46:10 +0000 (15:46 +0100)
committerSteven Price <steven.price@arm.com>
Mon, 8 Aug 2022 11:39:55 +0000 (12:39 +0100)
commitd9bceec707c520d9debee242f1593d6b6b672a5f
treec21c905d62e8d187250263be9e710152bf4dd74a
parentecbe886853bf97a3a78ea83a2556435762fce101
drm/panfrost: Add support for devcoredump

In the event of a job timeout, debug dump information will be written into
/sys/class/devcoredump.

Inspired by etnaviv's similar feature.

Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220729144610.2105223-3-adrian.larumbe@collabora.com
drivers/gpu/drm/panfrost/Kconfig
drivers/gpu/drm/panfrost/Makefile
drivers/gpu/drm/panfrost/panfrost_dump.c [new file with mode: 0644]
drivers/gpu/drm/panfrost/panfrost_dump.h [new file with mode: 0644]
drivers/gpu/drm/panfrost/panfrost_job.c
include/uapi/drm/panfrost_drm.h