summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_pipeline.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-05-03 20:27:40 -0700
committerKenneth Graunke <[email protected]>2019-07-02 07:23:55 +0000
commit457a55716ea7752616bfadafce705f8a07970b9e (patch)
tree8bc9a94ff12d5cdd8559af5b34e4ac94d714f821 /src/amd/vulkan/radv_pipeline.c
parent07f345566448c4defef109b315a5361266ffd2ea (diff)
iris: Defer closing and freeing VMA until buffers are idle.
There will unfortunately be circumstances where we cannot re-use a virtual memory address until it's no longer active on the GPU. To facilitate this, we instead move BOs to a "dead" list, and defer closing them and returning their VMA until they are idle. We periodically sweep these away in cleanup_bo_cache, which triggers every time a new object's refcount hits zero. Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]> Tested-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_pipeline.c')
0 files changed, 0 insertions, 0 deletions