Re: [PATCH 5/5] drm/vmwgfx: Fix the lifetime of the bo cursor memory

2024-01-27 Thread Martin Krastev
On Fri, Jan 26, 2024 at 10:08 PM Zack Rusin wrote: > > The cleanup can be dispatched while the atomic update is still active, > which means that the memory acquired in the atomic update needs to > not be invalidated by the cleanup. The buffer objects in vmw_plane_state > instead of using the

[PATCH 5/5] drm/vmwgfx: Fix the lifetime of the bo cursor memory

2024-01-26 Thread Zack Rusin
The cleanup can be dispatched while the atomic update is still active, which means that the memory acquired in the atomic update needs to not be invalidated by the cleanup. The buffer objects in vmw_plane_state instead of using the builtin map_and_cache were trying to handle the lifetime of the