drm/msm: skip re-emitting IBs for unusable VMs
authorAntonino Maniscalco <antomani103@gmail.com>
Wed, 13 Aug 2025 13:04:44 +0000 (15:04 +0200)
committerRob Clark <robin.clark@oss.qualcomm.com>
Mon, 18 Aug 2025 14:51:10 +0000 (07:51 -0700)
commit4876b391654142dcf31ac6da619ace357b6b902d
tree4c7dc831d58c1db5a00802b42a5a8dadc67b5422
parent1ba9fbe40337e448b32e2831a7051191d61f0382
drm/msm: skip re-emitting IBs for unusable VMs

When a VM is marked as an usuable we disallow new submissions from it,
however submissions that where already scheduled on the ring would still
be re-sent.

Since this can lead to further hangs, avoid emitting the actual IBs.

Fixes: 6a4d287a1ae6 ("drm/msm: Mark VM as unusable on GPU hangs")
Signed-off-by: Antonino Maniscalco <antomani103@gmail.com>
Reviewed-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/668314/
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
drivers/gpu/drm/msm/msm_gpu.c