Re: [PATCH 2/2] drm/amdgpu/userq: hold the doorbell xa lock during hang reset

From: Christian König

Date: Mon Aug 24 2026 - 04:56:47 EST


Hi,

On 8/23/26 08:02, Junrui Luo wrote:
> Hi Christian, Alex,
>
> Sorry for the ping. No need to look at the patch itself.
>
> I would just be grateful for a quick word on whether the issue it describes
> is a real one. If not, I will drop it; if it is, should I send a v2?

as far as I can see it is completely nonsense what you try to do here.

The fence_drv references an amdgpu_userq object holds are the ones which the queue potentially waits on.

When the queue is freed up those references must be dropped, but that shouldn't affect fence_drv->fences in any way possible.

What exactly is the leak you are seeing?

Regards,
Christian.

>
> Thanks for your time,
> Junrui Luo