From: Rob Clark <robdclark@xxxxxxxxxxxx> 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/1630457207-13107-2-git-send-email-Monk.Liu@xxxxxxx/ [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(-) -- 2.31.1