nouveau/ws: dup the fd
authorKarol Herbst <kherbst@redhat.com>
Fri, 20 May 2022 13:22:58 +0000 (15:22 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 21:31:52 +0000 (21:31 +0000)
commit0e9fda6efb45a6a4ac786d809aed0d06ef5e7ab2
tree03240f0226fa8676230fb7a87b7c62334a15e997
parentba7d2ba45e86b0bed10609f29120e8777561182f
nouveau/ws: dup the fd

We do the same in gallium

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/vulkan/nvk_physical_device.c
src/nouveau/winsys/nouveau_device.c