mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-22 18:05:10 +00:00
amdgpu: use local kernel headers instead of libdrm
Use local copies of amdgpu and DRM headers for consistency. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
parent
905e2412a0
commit
0038ba8431
3 changed files with 7 additions and 2 deletions
|
|
@ -20,7 +20,6 @@
|
|||
|
||||
#include <xf86drm.h>
|
||||
#include <libdrm/amdgpu.h>
|
||||
#include <libdrm/amdgpu_drm.h>
|
||||
|
||||
#include "criu-plugin.h"
|
||||
#include "plugin.h"
|
||||
|
|
@ -38,6 +37,7 @@
|
|||
#include "rst-malloc.h"
|
||||
|
||||
#include "common/list.h"
|
||||
#include "amdgpu_drm.h"
|
||||
#include "amdgpu_plugin_dmabuf.h"
|
||||
#include "amdgpu_plugin_drm.h"
|
||||
#include "amdgpu_plugin_util.h"
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@
|
|||
#include "fdstore.h"
|
||||
|
||||
#include "criu-amdgpu.pb-c.h"
|
||||
|
||||
/* Define __user as empty for kernel headers in user-space */
|
||||
#define __user
|
||||
#include "drm.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -23,9 +23,12 @@
|
|||
#ifndef KFD_IOCTL_H_INCLUDED
|
||||
#define KFD_IOCTL_H_INCLUDED
|
||||
|
||||
#include <libdrm/drm.h>
|
||||
#include <linux/ioctl.h>
|
||||
|
||||
/* Define __user as empty for kernel headers in user-space */
|
||||
#define __user
|
||||
#include "drm.h"
|
||||
|
||||
/*
|
||||
* - 1.1 - initial version
|
||||
* - 1.3 - Add SMI events support
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue