diff options
| author | Joshua Bakita <jbakita@cs.unc.edu> | 2022-05-24 21:16:30 -0400 |
|---|---|---|
| committer | Joshua Bakita <jbakita@cs.unc.edu> | 2022-05-24 21:16:30 -0400 |
| commit | 2c076a01e5bd0949032ef81cd0e2d37bdecafba5 (patch) | |
| tree | 12cc1d66b55a6a72ecdd40a416a86b117f04641a /include/uapi | |
| parent | 70c252977fc080c829b195fece6f46f73586f1e4 (diff) | |
gpu-paging: Functions to support initial working versionrtss22-aegpu-paging
- Buffer deallocation (+IOCTL)
- Buffer reallocation
- Private dmabuf user list and accessor
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/linux/nvmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/nvmap.h b/include/uapi/linux/nvmap.h index 66eda75ce..5fea19ac8 100644 --- a/include/uapi/linux/nvmap.h +++ b/include/uapi/linux/nvmap.h | |||
| @@ -304,6 +304,8 @@ struct nvmap_handle_parameters { | |||
| 304 | */ | 304 | */ |
| 305 | #define NVMAP_IOC_FREE _IO(NVMAP_IOC_MAGIC, 4) | 305 | #define NVMAP_IOC_FREE _IO(NVMAP_IOC_MAGIC, 4) |
| 306 | 306 | ||
| 307 | #define NVMAP_IOC_DEALLOC _IO(NVMAP_IOC_MAGIC, 9) | ||
| 308 | |||
| 307 | /* Maps the region of the specified handle into a user-provided virtual address | 309 | /* Maps the region of the specified handle into a user-provided virtual address |
| 308 | * that was previously created via an mmap syscall on this fd */ | 310 | * that was previously created via an mmap syscall on this fd */ |
| 309 | #define NVMAP_IOC_MMAP _IOWR(NVMAP_IOC_MAGIC, 5, struct nvmap_map_caller) | 311 | #define NVMAP_IOC_MMAP _IOWR(NVMAP_IOC_MAGIC, 5, struct nvmap_map_caller) |
