radv: fix missing destruction of the inotify thread
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 16 Mar 2022 09:00:36 +0000 (10:00 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 16 Mar 2022 11:57:41 +0000 (11:57 +0000)
commit60517948af1fc3802b5fcb60295b4b0550b9ecf8
tree0a246e118668eb5f9803dad5a5d4713468cb6bc8
parent550f48a8265c2e3b7103f96081d06ff5275c115e
radv: fix missing destruction of the inotify thread

The notifier state must be destroyed when a device is destroyed. Oops.
This fixes crashes at launch with The Witcher 3.

Fixes: c50557d9612 ("radv: allow applications to dynamically change RADV_FORCE_VRS")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15405>
src/amd/vulkan/radv_device.c