tegra: use drmCloseBufferHandle
authorSimon Ser <contact@emersion.fr>
Sun, 3 Oct 2021 17:53:07 +0000 (19:53 +0200)
committerSimon Ser <contact@emersion.fr>
Wed, 6 Oct 2021 07:03:21 +0000 (09:03 +0200)
commit751752d264fc78ddc7d749d03eeb47c67f93ff7b
tree9b7ae7abf318cbcbe3a28f1a58b5cc46db522631
parentbf23fe37bef8a5c78724f6e4fd96901632bf9373
tegra: 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>
tegra/tegra.c