drm/amdkfd: update for drmP.h removal
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 9 Oct 2019 00:35:57 +0000 (11:35 +1100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Oct 2019 17:04:48 +0000 (12:04 -0500)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_priv.h

index 337a8c042b43906acaf4b1c995c09ba0528b3b24..ab899747cb64c92c41f7b9fa71a585f65c0469ba 100644 (file)
@@ -37,7 +37,9 @@
 #include <linux/kref.h>
 #include <linux/sysfs.h>
 #include <linux/device_cgroup.h>
-#include <drm/drmP.h>
+#include <drm/drm_file.h>
+#include <drm/drm_drv.h>
+#include <drm/drm_device.h>
 #include <kgd_kfd_interface.h>
 
 #include "amd_shared.h"
@@ -49,8 +51,6 @@
 /* GPU ID hash width in bits */
 #define KFD_GPU_ID_HASH_WIDTH 16
 
-struct drm_device;
-
 /* Use upper bits of mmap offset to store KFD driver specific information.
  * BITS[63:62] - Encode MMAP type
  * BITS[61:46] - Encode gpu_id. To identify to which GPU the offset belongs to