Re: [PATCH 2/6] drm/msm: Recover HW before retire hung submit

From: Konrad Dybcio

Date: Mon Jun 08 2026 - 04:24:07 EST


On 6/4/26 10:08 PM, Akhil P Oommen wrote:
> From: Jie Zhang <jie.zhang@xxxxxxxxxxxxxxxx>
>
> During recovery, it is not safe to retire the hung submit before we
> recover the GPU. Retiring the submit triggers BO free and that can
> result in GPU pagefaults since the GPU may be actively accessing those
> BOs.
>
> To fix this, retire the submits after gpu recovery is complete in
> recover_worker().
>
> Fixes: 1a370be9ac51 ("drm/msm: restart queued submits after hang")
> Signed-off-by: Jie Zhang <jie.zhang@xxxxxxxxxxxxxxxx>
> Signed-off-by: Akhil P Oommen <akhilpo@xxxxxxxxxxxxxxxx>
> ---

Acked-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>

Konrad