Skip to content

Panthor devcoredump support

Daniel Almeida dri-devel lkml oe-kbuild-all rust-for-linux 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/25 patches 6 repliesIn review
  2. v2 posting 1/25 patches 1 replySuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm: panthor: expose some fw information through the query ioctldrivers/gpu/drm/panthor/panthor_device.h drivers/gpu/drm/panthor/panthor_drv.c drivers/gpu/drm/panthor/panthor_sched.c +1 more+35 -03 replies
2/5drm: panthor: add devcoredump supportdrivers/gpu/drm/panthor/Kconfig drivers/gpu/drm/panthor/Makefile drivers/gpu/drm/panthor/panthor_dump.c +6 more+611 -12 replies
3/5drm: panthor: add debugfs support in panthor_scheddrivers/gpu/drm/panthor/panthor_drv.c drivers/gpu/drm/panthor/panthor_sched.c drivers/gpu/drm/panthor/panthor_sched.h+17 -00 replies
4/5drm: panthor: add debugfs knob to dump successful jobsdrivers/gpu/drm/panthor/panthor_sched.c+17 -01 reply
5/5drm: panthor: allow dumping multiple jobsdrivers/gpu/drm/panthor/panthor_dump.c drivers/gpu/drm/panthor/panthor_dump.h drivers/gpu/drm/panthor/panthor_sched.c+186 -780 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchAdrian Larumbe
1/5R-b
2/5R-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 RESEND 0/5] Panthor devcoredump support

Resending this because, among other things, the patches themselves did not have dri-devel on cc.

------------------

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
Signature · 1 line
2.45.2