nouveau: use drmCloseBufferHandle
authorSimon Ser <contact@emersion.fr>
Sun, 3 Oct 2021 17:50:58 +0000 (19:50 +0200)
committerSimon Ser <contact@emersion.fr>
Wed, 6 Oct 2021 07:03:21 +0000 (09:03 +0200)
commit53ef4b37a1a070d88b9073995a7110daeab3bc48
tree3a3b320f4385b42800513c3d41f3da675dc80713
parent7b67fec649b07cd5ded66814ba799b09b4d407c8
nouveau: use drmCloseBufferHandle

Instead of manually calling drmIoctl, use the equivalent function
from libdrm core.

Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
nouveau/nouveau.c