Commit 1cd4d9ee authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Alex Deucher

drm/amdkfd: update for drmP.h removal

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 6b855f7b
...@@ -37,7 +37,9 @@ ...@@ -37,7 +37,9 @@
#include <linux/kref.h> #include <linux/kref.h>
#include <linux/sysfs.h> #include <linux/sysfs.h>
#include <linux/device_cgroup.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 <kgd_kfd_interface.h>
#include "amd_shared.h" #include "amd_shared.h"
...@@ -49,8 +51,6 @@ ...@@ -49,8 +51,6 @@
/* GPU ID hash width in bits */ /* GPU ID hash width in bits */
#define KFD_GPU_ID_HASH_WIDTH 16 #define KFD_GPU_ID_HASH_WIDTH 16
struct drm_device;
/* Use upper bits of mmap offset to store KFD driver specific information. /* Use upper bits of mmap offset to store KFD driver specific information.
* BITS[63:62] - Encode MMAP type * BITS[63:62] - Encode MMAP type
* BITS[61:46] - Encode gpu_id. To identify to which GPU the offset belongs to * BITS[61:46] - Encode gpu_id. To identify to which GPU the offset belongs to
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment