[PATCH V2 00/10] Reset improvements for GC10+
Christian König
christian.koenig at amd.com
Fri May 23 14:03:23 UTC 2025
On 5/23/25 15:58, Alex Deucher wrote:
> I think that's probably the best option. I was thinking we could
> mirror the ring frames for each gang and after a reset, we submit the
> unprocessed frames again. That way we can still do a ring test to
> make sure the ring is functional after the reset and then submit the
> unprocessed work.
Keep in mind that we can't allocate any memory during submission or in a reset.
I think we should just tell the newly mapped kernel ring to start to from the known good RPTR and process to whatever the current WPTR is. Only after that an IB test should be inserted.
We could also modify the conditional code used for MCBP to skip processing for a specific VMID by applying a mask instead of always checking for 0 and 1.
Christian.
More information about the amd-gfx
mailing list