Skip to content

drm/msm: Cleanup and drm/sched tdr prep

Rob Clark dri-devel linux-arm-msm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/msm: Remove unnecessary struct_mutexdrivers/gpu/drm/msm/msm_debugfs.c drivers/gpu/drm/msm/msm_fbdev.c+16 -340 replies
2/5drm/msm: Drop priv->lastctxdrivers/gpu/drm/msm/adreno/a2xx_gpu.c drivers/gpu/drm/msm/adreno/a3xx_gpu.c drivers/gpu/drm/msm/adreno/a4xx_gpu.c +7 more+22 -351 reply
3/5drm/msm: Remove struct_mutex usagedrivers/gpu/drm/msm/adreno/a5xx_debugfs.c drivers/gpu/drm/msm/adreno/adreno_device.c drivers/gpu/drm/msm/msm_debugfs.c +5 more+49 -340 replies
4/5drm/msm: Handle fence rolloverdrivers/gpu/drm/msm/msm_fence.h drivers/gpu/drm/msm/msm_gpu.c drivers/gpu/drm/msm/msm_gpu.h+16 -41 reply
5/5drm/msm: Add debugfs to disable hw err handlingdrivers/gpu/drm/msm/adreno/a5xx_gpu.c drivers/gpu/drm/msm/adreno/a6xx_gpu.c drivers/gpu/drm/msm/msm_debugfs.c +1 more+22 -01 reply

Reviews trailers per patch

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

PatchAkhil P Oommen
1/5
2/5R-b
3/5
4/5R-b
5/5R-b

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/msm: Cleanup and drm/sched tdr prep

From: Rob Clark <[email protected]>

This started out as conversion to using drm/sched to handle job timeout, recovery, and retire (and delete a bunch of code), but the latter part is on hold until drm/sched is fixed to properly handle job retire/ cleanup before deciding which job triggered the fault/timeout[1]. But the rest is worthwhile cleanup, and the last patch is needed for an igt test that I'm working on to exercise timeout/fault recovery[2].

[1] https://lore.kernel.org/all/[email protected]/
[2] https://patchwork.freedesktop.org/series/96722/

Rob Clark (5):
drm/msm: Remove unnecessary struct_mutex
drm/msm: Drop priv->lastctx
drm/msm: Remove struct_mutex usage
drm/msm: Handle fence rollover
drm/msm: Add debugfs to disable hw err handling

 drivers/gpu/drm/msm/adreno/a2xx_gpu.c      |  3 +-
 drivers/gpu/drm/msm/adreno/a3xx_gpu.c      |  3 +-
 drivers/gpu/drm/msm/adreno/a4xx_gpu.c      |  3 +-
 drivers/gpu/drm/msm/adreno/a5xx_debugfs.c  |  4 +-
 drivers/gpu/drm/msm/adreno/a5xx_gpu.c      | 14 +++---
 drivers/gpu/drm/msm/adreno/a6xx_gpu.c      | 13 +++---
 drivers/gpu/drm/msm/adreno/a6xx_gpu.h      | 10 -----
 drivers/gpu/drm/msm/adreno/adreno_device.c |  4 +-
 drivers/gpu/drm/msm/msm_debugfs.c          | 52 +++++++++-------------
 drivers/gpu/drm/msm/msm_drv.c              |  6 ---
 drivers/gpu/drm/msm/msm_drv.h              | 11 ++++-
 drivers/gpu/drm/msm/msm_fbdev.c            | 13 ++----
 drivers/gpu/drm/msm/msm_fence.h            | 12 +++++
 drivers/gpu/drm/msm/msm_gpu.c              | 22 ++++-----
 drivers/gpu/drm/msm/msm_gpu.h              | 33 +++++++++++---
 drivers/gpu/drm/msm/msm_perf.c             |  9 ++--
 drivers/gpu/drm/msm/msm_rd.c               | 16 ++++---
 drivers/gpu/drm/msm/msm_ringbuffer.c       |  4 +-
 18 files changed, 125 insertions(+), 107 deletions(-)
Signature · 1 line
2.31.1