plugin/amdgpu: Add drm header

The amdgpu plugin usually calls drm ioctls through the libdrm
wrappers. However, amdgpu restore requires dealing with dmabufs
and gem handles directly, which means drm ioctls must be
called directly.

Add the drm.h header (from the kernel's uapi).

Signed-off-by: David Francis <David.Francis@amd.com>
This commit is contained in:
David Francis 2025-05-15 09:49:24 -04:00 committed by Alexander Mikhalitsyn
parent e27f77051e
commit c43b59eb01
No known key found for this signature in database
GPG key ID: B1F47F5CB05B4FA3

1450
plugins/amdgpu/drm.h Normal file

File diff suppressed because it is too large Load diff