Re: [PATCH] drm/vkms: avoid race-condition between flushing and destroying

2024-11-05 Thread Maíra Canal
Hi Louis, On 05/11/24 10:59, Louis Chauvet wrote: On 29/07/23 - 19:49, Maíra Canal wrote: After we flush the workqueue at the commit tale, we need to make sure that no work is queued until we destroy the state. Currently, new work can be queued in the workqueue, even after the commit tale, as t

Re: [PATCH] drm/vkms: avoid race-condition between flushing and destroying

2024-11-05 Thread Louis Chauvet
On 29/07/23 - 19:49, Maíra Canal wrote: > After we flush the workqueue at the commit tale, we need to make sure > that no work is queued until we destroy the state. Currently, new work > can be queued in the workqueue, even after the commit tale, as the > vblank thread is still running. > > Theref

Re: [PATCH] drm/vkms: avoid race-condition between flushing and destroying

2023-08-04 Thread Maira Canal
On 8/3/23 17:52, Sebastian Wick wrote: On Sun, Jul 30, 2023 at 12:51 AM Maíra Canal wrote: After we flush the workqueue at the commit tale, we need to make sure that no work is queued until we destroy the state. Currently, new work can be queued in the workqueue, even after the commit tale, as

Re: [PATCH] drm/vkms: avoid race-condition between flushing and destroying

2023-08-03 Thread Sebastian Wick
On Sun, Jul 30, 2023 at 12:51 AM Maíra Canal wrote: > > After we flush the workqueue at the commit tale, we need to make sure > that no work is queued until we destroy the state. Currently, new work > can be queued in the workqueue, even after the commit tale, as the > vblank thread is still runni

[PATCH] drm/vkms: avoid race-condition between flushing and destroying

2023-07-29 Thread Maíra Canal
After we flush the workqueue at the commit tale, we need to make sure that no work is queued until we destroy the state. Currently, new work can be queued in the workqueue, even after the commit tale, as the vblank thread is still running. Therefore, to avoid a race-condition that will lead to the