diff options
author | Eric Huang <[email protected]> | 2020-05-12 15:25:38 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-03-23 22:53:39 -0400 |
commit | 98291d6d8c2f5864b7dfc1950ece4a7563597f13 (patch) | |
tree | 5613dbccdb0097956bf3bd18e6c5f19c4a66cae6 | |
parent | 72b4db0f58ccfc4cb9489708ab1bcb32adc42679 (diff) |
drm/amdkfd: add new flag for uncached GPU mapping
The macro is for memory mapped by GPU as uncached.
Signed-off-by: Eric Huang <[email protected]>
Reviewed-by: Oak Zeng <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | include/uapi/linux/kfd_ioctl.h | 1 |
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. * |