From 2c076a01e5bd0949032ef81cd0e2d37bdecafba5 Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Tue, 24 May 2022 21:16:30 -0400 Subject: gpu-paging: Functions to support initial working version - Buffer deallocation (+IOCTL) - Buffer reallocation - Private dmabuf user list and accessor --- include/uapi/linux/nvmap.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/uapi/linux') 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 { */ #define NVMAP_IOC_FREE _IO(NVMAP_IOC_MAGIC, 4) +#define NVMAP_IOC_DEALLOC _IO(NVMAP_IOC_MAGIC, 9) + /* Maps the region of the specified handle into a user-provided virtual address * that was previously created via an mmap syscall on this fd */ #define NVMAP_IOC_MMAP _IOWR(NVMAP_IOC_MAGIC, 5, struct nvmap_map_caller) -- cgit v1.2.2