Re: [PATCH 2/2] drm/lima: mask irqs in timeout path before hard reset

2024-04-04 Thread Qiang Yu
Reviewed-by: Qiang Yu On Tue, Apr 2, 2024 at 5:20 AM Erico Nunes wrote: > > There is a race condition in which a rendering job might take just long > enough to trigger the drm sched job timeout handler but also still > complete before the hard reset is done by the timeout handler. > This runs

[PATCH 2/2] drm/lima: mask irqs in timeout path before hard reset

2024-04-01 Thread Erico Nunes
There is a race condition in which a rendering job might take just long enough to trigger the drm sched job timeout handler but also still complete before the hard reset is done by the timeout handler. This runs into race conditions not expected by the timeout handler. In some very specific cases