diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/common/mm/gmmu.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/common/mm/gmmu.c b/drivers/gpu/nvgpu/common/mm/gmmu.c index a5790e3a..ee160ae2 100644 --- a/drivers/gpu/nvgpu/common/mm/gmmu.c +++ b/drivers/gpu/nvgpu/common/mm/gmmu.c | |||
@@ -84,14 +84,6 @@ static u64 __nvgpu_gmmu_map(struct vm_gk20a *vm, | |||
84 | } | 84 | } |
85 | 85 | ||
86 | /* | 86 | /* |
87 | * If the GPU is IO coherent and the DMA API is giving us IO coherent | ||
88 | * CPU mappings then we gotta make sure we use the IO coherent aperture. | ||
89 | */ | ||
90 | if (nvgpu_is_enabled(g, NVGPU_USE_COHERENT_SYSMEM)) { | ||
91 | flags |= NVGPU_VM_MAP_IO_COHERENT; | ||
92 | } | ||
93 | |||
94 | /* | ||
95 | * Later on, when we free this nvgpu_mem's GPU mapping, we are going to | 87 | * Later on, when we free this nvgpu_mem's GPU mapping, we are going to |
96 | * potentially have to free the GPU VA space. If the address passed in | 88 | * potentially have to free the GPU VA space. If the address passed in |
97 | * is non-zero then this API is not expected to manage the VA space and | 89 | * is non-zero then this API is not expected to manage the VA space and |