summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h b/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h
index b01fbec5..66d04ab8 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h
@@ -68,6 +68,16 @@ struct nvgpu_mem {
68 * therefor zeroed (to prevent leaking information in VIDMEM buffers). 68 * therefor zeroed (to prevent leaking information in VIDMEM buffers).
69 */ 69 */
70#define NVGPU_MEM_FLAG_USER_MEM (1 << 2) 70#define NVGPU_MEM_FLAG_USER_MEM (1 << 2)
71
72 /*
73 * Internal flag that specifies this struct has not been made with DMA
74 * memory and as a result should not try to use the DMA routines for
75 * freeing the backing memory.
76 *
77 * However, this will not stop the DMA API from freeing other parts of
78 * nvgpu_mem in a system specific way.
79 */
80#define __NVGPU_MEM_FLAG_NO_DMA (1 << 3)
71 unsigned long mem_flags; 81 unsigned long mem_flags;
72 82
73 /* 83 /*