summaryrefslogtreecommitdiff
path: root/include/uapi/linux/kfd_ioctl.h
diff options
context:
space:
mode:
authorEric Huang <jinhuieric.huang@amd.com>2020-05-12 22:25:38 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-03-24 05:53:39 +0300
commit98291d6d8c2f5864b7dfc1950ece4a7563597f13 (patch)
tree5613dbccdb0097956bf3bd18e6c5f19c4a66cae6 /include/uapi/linux/kfd_ioctl.h
parent72b4db0f58ccfc4cb9489708ab1bcb32adc42679 (diff)
downloadlinux-98291d6d8c2f5864b7dfc1950ece4a7563597f13.tar.xz
drm/amdkfd: add new flag for uncached GPU mapping
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>
Diffstat (limited to 'include/uapi/linux/kfd_ioctl.h')
-rw-r--r--include/uapi/linux/kfd_ioctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/kfd_ioctl.h b/include/uapi/linux/kfd_ioctl.h
index 695b606da4b1..18449f746097 100644
--- 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.
*