freedreno: use drmCloseBufferHandle
authorSimon Ser <contact@emersion.fr>
Sun, 3 Oct 2021 17:49:40 +0000 (19:49 +0200)
committerSimon Ser <contact@emersion.fr>
Wed, 6 Oct 2021 07:03:21 +0000 (09:03 +0200)
commit7b67fec649b07cd5ded66814ba799b09b4d407c8
tree23fc22ab274f8e0500999a4333907551f247607f
parent2fda5f9b0c2d623f69ecec1f4a8a45e785b6cadf
freedreno: 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>
freedreno/freedreno_bo.c