[PATCH 4/4] drm/amdgpu: prevent gpu access during reset recovery
Li, Yunxiang (Teddy)
Yunxiang.Li at amd.com
Fri May 24 13:35:58 UTC 2024
[AMD Official Use Only - AMD Internal Distribution Only]
> If that is true you could in theory lower the locked area of the existing lock, but adding a new one is strict no-go from my side.
I'll try this, right now I see two places where this would be problematic because they are trying to suspend either gfx or kfd scheduler and later resume it, which would race with the same in reset. It is exactly this two functions I'm trying to avoid putting in the scope of the second lock, because they are common to both in and outside reset.
Teddy
More information about the amd-gfx
mailing list