diff options
| author | Ian Forbes <[email protected]> | 2025-05-30 18:35:08 +0000 |
|---|---|---|
| committer | Zack Rusin <[email protected]> | 2025-06-18 02:49:31 +0000 |
| commit | c82f55f4aa57bf5ba412d55856fe50514b47b971 (patch) | |
| tree | d3ed4789760119f211eaf2a9f096f59f0efee154 /rust/helpers/dma.c | |
| parent | drm/amdgpu: Make use of drm_wedge_task_info (diff) | |
| download | kernel-c82f55f4aa57bf5ba412d55856fe50514b47b971.tar.gz kernel-c82f55f4aa57bf5ba412d55856fe50514b47b971.zip | |
drm/vmwgfx: Update last_read_seqno under the fence lock
There was a possible race in vmw_update_seqno. Because of this race it
was possible for last_read_seqno to go backwards. Remove this function
and replace it with vmw_update_fences which now sets and returns the
last_read_seqno while holding the fence lock. This serialization via the
fence lock ensures that last_read_seqno is monotonic again.
Signed-off-by: Ian Forbes <[email protected]>
Signed-off-by: Zack Rusin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'rust/helpers/dma.c')
0 files changed, 0 insertions, 0 deletions
