Re: [Mesa-dev] [PATCH 7/8] radv/amdgpu: Use reference counting for bos.

2017-02-08 Thread Nicolai Hähnle
On 05.02.2017 12:43, Bas Nieuwenhuizen wrote: Per the Vulkan spec, memory objects may be deleted before the buffers and images using them are deleted, although those resources then cannot be used except for deletion themselves. For the virtual buffers, we need to access them on resource

[Mesa-dev] [PATCH 7/8] radv/amdgpu: Use reference counting for bos.

2017-02-05 Thread Bas Nieuwenhuizen
Per the Vulkan spec, memory objects may be deleted before the buffers and images using them are deleted, although those resources then cannot be used except for deletion themselves. For the virtual buffers, we need to access them on resource destruction to unmap the regions, so this results in a