omap: use drmCloseBufferHandle
authorSimon Ser <contact@emersion.fr>
Sun, 3 Oct 2021 17:51:57 +0000 (19:51 +0200)
committerSimon Ser <contact@emersion.fr>
Wed, 6 Oct 2021 07:03:21 +0000 (09:03 +0200)
commitbf23fe37bef8a5c78724f6e4fd96901632bf9373
treeb97ffd9b368af0f4d58db68c67eda628ba6f46f8
parent53ef4b37a1a070d88b9073995a7110daeab3bc48
omap: 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>
omap/omap_drm.c