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