diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/gp10b')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/vgpu/gp10b/vgpu_mm_gp10b.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/gp10b/vgpu_mm_gp10b.c b/drivers/gpu/nvgpu/common/linux/vgpu/gp10b/vgpu_mm_gp10b.c index 8c5a6d27..b857ea95 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/gp10b/vgpu_mm_gp10b.c +++ b/drivers/gpu/nvgpu/common/linux/vgpu/gp10b/vgpu_mm_gp10b.c | |||
@@ -165,7 +165,10 @@ u64 vgpu_gp10b_locked_gmmu_map(struct vm_gk20a *vm, | |||
165 | p->pgsz_idx = pgsz_idx; | 165 | p->pgsz_idx = pgsz_idx; |
166 | p->iova = 0; | 166 | p->iova = 0; |
167 | p->kind = kind_v; | 167 | p->kind = kind_v; |
168 | p->cacheable = (flags & NVGPU_VM_MAP_CACHEABLE) ? 1 : 0; | 168 | if (flags & NVGPU_VM_MAP_CACHEABLE) |
169 | p->flags = TEGRA_VGPU_MAP_CACHEABLE; | ||
170 | if (flags & NVGPU_VM_MAP_IO_COHERENT) | ||
171 | p->flags |= TEGRA_VGPU_MAP_IO_COHERENT; | ||
169 | p->prot = prot; | 172 | p->prot = prot; |
170 | p->ctag_offset = ctag_offset; | 173 | p->ctag_offset = ctag_offset; |
171 | p->clear_ctags = clear_ctags; | 174 | p->clear_ctags = clear_ctags; |