Skip to content

drm/lima: add error debug functionality

Qiang Yu dri-devel oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/lima: save process info for debug usagedrivers/gpu/drm/lima/lima_ctx.c drivers/gpu/drm/lima/lima_ctx.h+8 -00 replies
2/5drm/lima: add max_error_tasks module parameterdrivers/gpu/drm/lima/lima_drv.c drivers/gpu/drm/lima/lima_drv.h+5 -00 replies
3/5drm/lima: save task info dump when task faildrivers/gpu/drm/lima/lima_device.c drivers/gpu/drm/lima/lima_device.h drivers/gpu/drm/lima/lima_dump.h +2 more+233 -02 replies
4/5drm/lima: add error sysfs to export error task dumpdrivers/gpu/drm/lima/lima_drv.c+93 -00 replies
5/5drm/lima: add LIMA_BO_FLAG_FORCE_VAdrivers/gpu/drm/lima/lima_drv.c drivers/gpu/drm/lima/lima_gem.c drivers/gpu/drm/lima/lima_gem.h +2 more+46 -130 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndreas BaierlVasily Khoruzhick
SeriesT-b R-b
1/5
2/5
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 v1 thread

Cover letter [PATCH 0/5] drm/lima: add error debug functionality

Save task error state when it fail and export to user by sysfs as a binary file which can be dumped and replayed by lima_dump tool at:
https://gitlab.freedesktop.org/lima/lima_dump

Qiang Yu (5):
drm/lima: save process info for debug usage drm/lima: add max_error_tasks module parameter drm/lima: save task info dump when task fail drm/lima: add error sysfs to export error task dump drm/lima: add LIMA_BO_FLAG_FORCE_VA

 drivers/gpu/drm/lima/lima_ctx.c    |   3 +
 drivers/gpu/drm/lima/lima_ctx.h    |   5 ++
 drivers/gpu/drm/lima/lima_device.c |  13 +++
 drivers/gpu/drm/lima/lima_device.h |   8 ++
 drivers/gpu/drm/lima/lima_drv.c    | 123 +++++++++++++++++++++++++--
 drivers/gpu/drm/lima/lima_drv.h    |   1 +
 drivers/gpu/drm/lima/lima_dump.h   |  77 +++++++++++++++++
 drivers/gpu/drm/lima/lima_gem.c    |   7 +-
 drivers/gpu/drm/lima/lima_gem.h    |   4 +-
 drivers/gpu/drm/lima/lima_sched.c  | 128 +++++++++++++++++++++++++++++
 drivers/gpu/drm/lima/lima_sched.h  |   7 ++
 drivers/gpu/drm/lima/lima_vm.c     |  13 ++-
 include/uapi/drm/lima_drm.h        |   9 +-
 13 files changed, 385 insertions(+), 13 deletions(-)
 create mode 100644 drivers/gpu/drm/lima/lima_dump.h
Signature · 6 lines
2.17.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel