]> 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)
commit81b828bfee4bbb95d8d71d5db6147bec272e706d
treec21c905d62e8d187250263be9e710152bf4dd74a
parent5c28affe1410acf56131423625ea56074baa059f
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