aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-09-26 02:17:03 -0500
committerSean Paul <[email protected]>2018-09-26 10:39:14 -0400
commit337fe9f5c1e7de1f391c6a692531379d2aa2ee11 (patch)
tree68dfd6b567200b460b9993f9e8f64f1cdc117ace /scripts
parent6bf4ca7fbc85d80446ac01c0d1d77db4d91a6d84 (diff)
drm/syncobj: Don't leak fences when WAIT_FOR_SUBMIT is set
We attempt to get fences earlier in the hopes that everything will already have fences and no callbacks will be needed. If we do succeed in getting a fence, getting one a second time will result in a duplicate ref with no unref. This is causing memory leaks in Vulkan applications that create a lot of fences; playing for a few hours can, apparently, bring down the system. Cc: [email protected] Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107899 Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Jason Ekstrand <[email protected]> Signed-off-by: Sean Paul <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions