Skip to content
Snippets Groups Projects
Commit 1fa288b2 authored by Karol Herbst's avatar Karol Herbst :crab: Committed by Marge Bot
Browse files

rusticl/memory: Fix memory unmaps after rework

An application could map and unmap a host ptr allocation multiple times,
but because how the refcounting works, we might never ended up syncing the
written data to the mapped region.

This moves the refcounting out of the event processing.

Fixes: 7b22bc61 ("rusticl/memory: complete rework on how mapping is implemented")
Part-of: <mesa/mesa!30528>
parent b6d8459e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment