diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/linux/vm.h')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/linux/vm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/linux/vm.h b/drivers/gpu/nvgpu/include/nvgpu/linux/vm.h index 6f3beaa9..b86a428a 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/linux/vm.h +++ b/drivers/gpu/nvgpu/include/nvgpu/linux/vm.h | |||
@@ -49,6 +49,8 @@ struct nvgpu_mapped_buf_priv { | |||
49 | struct dma_buf *dmabuf; | 49 | struct dma_buf *dmabuf; |
50 | struct dma_buf_attachment *attachment; | 50 | struct dma_buf_attachment *attachment; |
51 | struct sg_table *sgt; | 51 | struct sg_table *sgt; |
52 | // For fast reverse lookup (FD -> mapped_buf) | ||
53 | struct list_head nvmap_priv_entry; | ||
52 | }; | 54 | }; |
53 | 55 | ||
54 | /* NVGPU_AS_MAP_BUFFER_FLAGS_DIRECT_KIND_CTRL must be set */ | 56 | /* NVGPU_AS_MAP_BUFFER_FLAGS_DIRECT_KIND_CTRL must be set */ |