diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include')
| -rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/linux/vm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/linux/vm.h b/drivers/gpu/nvgpu/include/nvgpu/linux/vm.h index 85abce6f..4fa4242c 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/linux/vm.h +++ b/drivers/gpu/nvgpu/include/nvgpu/linux/vm.h | |||
| @@ -51,7 +51,10 @@ struct nvgpu_mapped_buf_priv { | |||
| 51 | struct sg_table *sgt; | 51 | struct sg_table *sgt; |
| 52 | // For fast reverse lookup (FD -> mapped_buf) | 52 | // For fast reverse lookup (FD -> mapped_buf) |
| 53 | struct list_head nvmap_priv_entry; | 53 | struct list_head nvmap_priv_entry; |
| 54 | // To allow waiting on swap I/O completion | ||
| 54 | struct completion swap_io_done; | 55 | struct completion swap_io_done; |
| 56 | // Sector assignment for swapped-out data | ||
| 57 | sector_t swap_sector; | ||
| 55 | }; | 58 | }; |
| 56 | 59 | ||
| 57 | /* NVGPU_AS_MAP_BUFFER_FLAGS_DIRECT_KIND_CTRL must be set */ | 60 | /* NVGPU_AS_MAP_BUFFER_FLAGS_DIRECT_KIND_CTRL must be set */ |
