On 02/06/25 10:22, Maíra Canal wrote:
Commit 704d3d60fec4 ("drm/etnaviv: don't block scheduler when GPU is still active") ensured that active jobs are returned to the pending list when extending the timeout. However, it didn't use the pending list's lock to manipulate the list, which causes a race condition as the scheduler's workqueues are running.
Hold the lock while manipulating the scheduler's pending list to prevent a race.
Cc: stable@vger.kernel.org Fixes: 704d3d60fec4 ("drm/etnaviv: don't block scheduler when GPU is still active") Signed-off-by: Maíra Canal mcanal@igalia.com
The patch was applied to misc/kernel.git (drm-misc-fixes) with Philipp's suggestions.
Thanks for the review!
Best Regards, - Maíra