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

Christian König <[email protected]>
Newsgroups org.freedesktop.lists.amd-gfx,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-media,org.kernel.vger.stable
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.