freedreno: Destroy syncobj too when destroying fence
authorEduardo Lima Mitev <elima@igalia.com>
Wed, 19 Aug 2020 07:57:33 +0000 (09:57 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 19 Aug 2020 09:11:21 +0000 (09:11 +0000)
commita457256e2d697d9bae56031a07ae0309d8f59512
tree56aece154ac2f17f397bc015f4e87b188c8436e2
parentb08fcab44d7a4839f141572ac1c4e80e9180cbb5
freedreno: Destroy syncobj too when destroying fence

This is a missing part of freedreno EXT_semaphore support,
recently merged as part of series adding EXT_external_objects. This hunk was
actually lost due to a mistake on my side while doing a rebase.

Reviewed-by: Hyunjun Ko <zzoon@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6383>
src/gallium/drivers/freedreno/freedreno_fence.c