diff options
author | Andres Rodriguez <[email protected]> | 2018-04-30 18:05:49 -0400 |
---|---|---|
committer | Andres Rodriguez <[email protected]> | 2018-04-30 18:20:30 -0400 |
commit | f56e22e49673e8234a7fe0c241b4c3eae4752f34 (patch) | |
tree | eadaf9d931e7114dd0e8136a85f260860cfb2c77 /src/mesa/drivers/dri | |
parent | 2a08ae3c7cba14b9805d006e1981ba9d762bf241 (diff) |
radv/winsys: fix leaking resources from bo's imported by fd
A bo's ref_count was not being initialized when imported from an fd.
Therefore, we would fail to free the resource during VkFreeMemory().
This patch fixes applications like hifi VR in threaded mode, which
perform frequent imports/releases of IPC shared memory.
Signed-off-by: Andres Rodriguez <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
CC: 18.0 18.1 <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
0 files changed, 0 insertions, 0 deletions