[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240813210555.607641-1-daniel.almeida@collabora.com>
Date: Tue, 13 Aug 2024 18:05:42 -0300
From: Daniel Almeida <daniel.almeida@...labora.com>
To: liviu.dudau@....com,
steven.price@....com,
carsten.haitzler@....com,
boris.brezillon@...labora.com,
robh@...nel.org,
faith.ekstrand@...labora.com
Cc: Daniel Almeida <daniel.almeida@...labora.com>,
linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org
Subject: [PATCH v2 0/5] Panthor devcoredump support
Hi all.
I will refrain from writing a changelog here, since I have rewritten
this series from the ground up in C. I removed the Rust-for-Linux people
from the loop for now, since this has become a bit tangential to Rust.
Lastly, this is no longer RFC.
For those looking for a branch instead, please see [0].
I have tested this with the decoder tool I wrote at [1]. Unfortunately
the dumps are too large to share.
You will notice that I added support for a new query. I am still working
on the IGT tests for that.
Let me know what you think.
-- Daniel
[0] https://gitlab.collabora.com/dwlsalmeida/for-upstream/-/tree/panthor-devcoredump?ref_type=heads
[1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30651
Daniel Almeida (5):
drm: panthor: expose some fw information through the query ioctl
drm: panthor: add devcoredump support
drm: panthor: add debugfs support in panthor_sched
drm: panthor: add debugfs knob to dump successful jobs
drm: panthor: allow dumping multiple jobs
drivers/gpu/drm/panthor/Kconfig | 1 +
drivers/gpu/drm/panthor/Makefile | 1 +
drivers/gpu/drm/panthor/panthor_device.h | 3 +
drivers/gpu/drm/panthor/panthor_drv.c | 9 +
drivers/gpu/drm/panthor/panthor_dump.c | 459 +++++++++++++++++++++++
drivers/gpu/drm/panthor/panthor_dump.h | 36 ++
drivers/gpu/drm/panthor/panthor_mmu.c | 22 ++
drivers/gpu/drm/panthor/panthor_mmu.h | 6 +
drivers/gpu/drm/panthor/panthor_sched.c | 92 ++++-
drivers/gpu/drm/panthor/panthor_sched.h | 17 +
include/uapi/drm/panthor_drm.h | 143 +++++++
11 files changed, 788 insertions(+), 1 deletion(-)
create mode 100644 drivers/gpu/drm/panthor/panthor_dump.c
create mode 100644 drivers/gpu/drm/panthor/panthor_dump.h
--
2.45.2
Powered by blists - more mailing lists