[PATCH 0/2] drm/msm: Improved hang detection

From: Rob Clark
Date: Mon Oct 31 2022 - 18:54:05 EST


From: Rob Clark <robdclark@xxxxxxxxxxxx>

Try to detect when submit jobs are making forward progress and give them
a bit more time.

Rob Clark (2):
drm/msm/adreno: Simplify read64/write64 helpers
drm/msm: Hangcheck progress detection

drivers/gpu/drm/msm/adreno/a4xx_gpu.c | 3 +-
drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 27 ++++------
drivers/gpu/drm/msm/adreno/a5xx_preempt.c | 4 +-
drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 58 +++++++++++++++------
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c | 3 +-
drivers/gpu/drm/msm/msm_drv.h | 8 ++-
drivers/gpu/drm/msm/msm_gpu.c | 20 ++++++-
drivers/gpu/drm/msm/msm_gpu.h | 17 +++---
drivers/gpu/drm/msm/msm_ringbuffer.h | 24 +++++++++
9 files changed, 115 insertions(+), 49 deletions(-)

--
2.37.3