projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72b4db0
)
drm/amdkfd: add new flag for uncached GPU mapping
author
Eric Huang
<jinhuieric.huang@amd.com>
Tue, 12 May 2020 19:25:38 +0000
(15:25 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 24 Mar 2021 02:53:39 +0000
(22:53 -0400)
The macro is for memory mapped by GPU as uncached.
Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>
Reviewed-by: Oak Zeng <Oak.Zeng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
include/uapi/linux/kfd_ioctl.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/kfd_ioctl.h
b/include/uapi/linux/kfd_ioctl.h
index
695b606
..
18449f7
100644
(file)
--- a/
include/uapi/linux/kfd_ioctl.h
+++ b/
include/uapi/linux/kfd_ioctl.h
@@
-351,6
+351,7
@@
struct kfd_ioctl_acquire_vm_args {
#define KFD_IOC_ALLOC_MEM_FLAGS_NO_SUBSTITUTE (1 << 28)
#define KFD_IOC_ALLOC_MEM_FLAGS_AQL_QUEUE_MEM (1 << 27)
#define KFD_IOC_ALLOC_MEM_FLAGS_COHERENT (1 << 26)
+#define KFD_IOC_ALLOC_MEM_FLAGS_UNCACHED (1 << 25)
/* Allocate memory for later SVM (shared virtual memory) mapping.
*