On 2026. augusztus 28., péntek 17:52:22 közép-európai nyári idő Alex Deucher 
wrote:
> > > 
> > > Instead of moving it here - sdma_v5_x_reset_queue and using it for 5.2
> > > is better. This may not work in the same way for all legacy queues.
> > > 
> > > Thanks,
> > > Lijo
> > 
> > Hi,
> > 
> > As far as I see, this function can be reused for all generations that
> > don't
> > use MES. If you don't think so, please explain why not.
> 
> I think the context is missing that you want to extend this to older
> generations as well and it's still applicable there.
> 
> Alex

Yes, I would like to implement queue reset for all SDMA versions and I would 
like to extend this function to do that.

My main motivation for this is that we want to enable SDMA for older GPU 
generations in RADV. The SDMA will see more use, and therefore the kernel 
needs to handle when the SDMA hangs.

I already have a prototype implementation of the queue reset for SDMA v2 (CIK) 
which makes is much easier to develop the SDMA code in RADV because it can 
recover from hangs without needing me to reboot my computer as I am developing 
and testing the code in RADV.

Thanks & best regards,
Timur


Reply via email to