Use libdrm library for drm access

Use needed constants from libderm instead of directly using
kernel UAPI.

Tracked-On: #6688
Signed-off-by: Helmut Buchsbaum <helmut.buchsbaum@opensource.tttech-industrial.com>
This commit is contained in:
Helmut Buchsbaum 2022-04-01 20:36:57 +02:00 committed by acrnsi-robot
parent 7637e53963
commit 78f702ef8c

View File

@ -18,7 +18,7 @@
#include <unistd.h>
#include <stdbool.h>
#include <vmmapi.h>
#include <drm/drm_fourcc.h>
#include <libdrm/drm_fourcc.h>
#include <linux/udmabuf.h>
#include <sys/stat.h>
#include <stdio.h>