diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/linux/vm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/linux/vm.h b/drivers/gpu/nvgpu/include/nvgpu/linux/vm.h index d9f082af..97b8334b 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/linux/vm.h +++ b/drivers/gpu/nvgpu/include/nvgpu/linux/vm.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -41,11 +41,13 @@ struct nvgpu_vm_area; | |||
41 | 41 | ||
42 | struct nvgpu_os_buffer { | 42 | struct nvgpu_os_buffer { |
43 | struct dma_buf *dmabuf; | 43 | struct dma_buf *dmabuf; |
44 | struct dma_buf_attachment *attachment; | ||
44 | struct device *dev; | 45 | struct device *dev; |
45 | }; | 46 | }; |
46 | 47 | ||
47 | struct nvgpu_mapped_buf_priv { | 48 | struct nvgpu_mapped_buf_priv { |
48 | struct dma_buf *dmabuf; | 49 | struct dma_buf *dmabuf; |
50 | struct dma_buf_attachment *attachment; | ||
49 | struct sg_table *sgt; | 51 | struct sg_table *sgt; |
50 | }; | 52 | }; |
51 | 53 | ||