]> Gentwo Git Trees - linux/.git/commit
drm/msm: Wait for MMU devcoredump when waiting for GMU
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 18 Jul 2025 13:50:17 +0000 (09:50 -0400)
committerRob Clark <rob.clark@oss.qualcomm.com>
Mon, 17 Nov 2025 17:43:58 +0000 (09:43 -0800)
commit50a0b122cfc8a7dc35009ef9bf33cf6034c7bd69
tree0e9d5e67a9b015eeb1b3fc217d88efde9baad13b
parenta3a22373fce576560757f5616eb48dbf85891d9c
drm/msm: Wait for MMU devcoredump when waiting for GMU

If there is a flood of faults then the MMU can become saturated while it
waits for the kernel to process the first fault and resume it, so that
the GMU becomes blocked. This is mainly a problem when the kernel reads
the state of the GPU for a devcoredump, because this takes a while. If
we timeout waiting for the GMU, check if this has happened and retry
after we're finished.

Signed-off-by: Connor Abbott <cwabbott0@gmail.com>
Patchwork: https://patchwork.freedesktop.org/patch/664685/
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
drivers/gpu/drm/msm/adreno/a6xx_gmu.c
drivers/gpu/drm/msm/adreno/a6xx_hfi.c
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.h