Re: [PATCH] drm/etnaviv: Protect the scheduler's pending list with its lock

2025-06-16 Thread Maíra Canal
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 rac

Re: [PATCH] drm/etnaviv: Protect the scheduler's pending list with its lock

2025-06-16 Thread Lucas Stach
Hi Maíra, Am Montag, dem 02.06.2025 um 10:22 -0300 schrieb Maíra Canal: > 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

Re: [PATCH] drm/etnaviv: Protect the scheduler's pending list with its lock

2025-06-02 Thread Philipp Stanner
On Mon, 2025-06-02 at 10:22 -0300, 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

[PATCH] drm/etnaviv: Protect the scheduler's pending list with its lock

2025-06-02 Thread Maíra Canal
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 workqueue