Unified · Split
| @@ -37,7 +37,9 @@ · 36 unmodified lines | ||
| 37 | 37 | #include <linux/kref.h> |
| 38 | 38 | #include <linux/sysfs.h> |
| 39 | 39 | #include <linux/device_cgroup.h> |
| 40 | −#include <drm/drmP.h> | |
| 40 | +#include <drm/drm_file.h> | |
| 41 | +#include <drm/drm_drv.h> | |
| 42 | +#include <drm/drm_device.h> | |
| 41 | 43 | #include <kgd_kfd_interface.h> |
| 42 | 44 | |
| 43 | 45 | #include "amd_shared.h" |
| @@ -49,8 +51,6 @@ · 5 unmodified lines | ||
| 49 | 51 | /* GPU ID hash width in bits */ |
| 50 | 52 | #define KFD_GPU_ID_HASH_WIDTH 16 |
| 51 | 53 | |
| 52 | −struct drm_device; | |
| 53 | − | |
| 54 | 54 | /* Use upper bits of mmap offset to store KFD driver specific information. |
| 55 | 55 | * BITS[63:62] - Encode MMAP type |
| 56 | 56 | * BITS[61:46] - Encode gpu_id. To identify to which GPU the offset belongs to |