radeon: use drmCloseBufferHandle
authorSimon Ser <contact@emersion.fr>
Sun, 3 Oct 2021 17:45:24 +0000 (19:45 +0200)
committerSimon Ser <contact@emersion.fr>
Wed, 6 Oct 2021 07:03:21 +0000 (09:03 +0200)
commit80f8fbd4889dff42f2a23877d216b22cae5225c0
tree6c76b8e807a8d9c720fab78b6b7cc6e1bf02d9f4
parent7e13fe1dbf49507ae7bd55a279bed91e5dfb7a65
radeon: 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>
radeon/radeon_bo_gem.c