History

drm/amdkfd: update for drmP.h removal

Stephen Rothwell committed 7 years ago

Commit 1cd4d9e1 parent 6b855f71 file · +3 −3Browse files

Unified · Split

drivers/gpu/drm/amd/amdkfd/kfd_priv.h+3−3
@@ -37,7 +37,9 @@ · 36 unmodified lines
3737 #include <linux/kref.h>
3838 #include <linux/sysfs.h>
3939 #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>
4143 #include <kgd_kfd_interface.h>
4244
4345 #include "amd_shared.h"
@@ -49,8 +51,6 @@ · 5 unmodified lines
4951 /* GPU ID hash width in bits */
5052 #define KFD_GPU_ID_HASH_WIDTH 16
5153
52−struct drm_device;
53−
5454 /* Use upper bits of mmap offset to store KFD driver specific information.
5555 * BITS[63:62] - Encode MMAP type
5656 * BITS[61:46] - Encode gpu_id. To identify to which GPU the offset belongs to

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t