diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c index dfbc1ae0..28b7ff7b 100644 --- a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c | |||
@@ -121,7 +121,8 @@ static int gk20a_tegra_secure_alloc(struct platform_device *pdev, | |||
121 | } | 121 | } |
122 | page = phys_to_page(iova); | 122 | page = phys_to_page(iova); |
123 | sg_set_page(sgt->sgl, page, size, 0); | 123 | sg_set_page(sgt->sgl, page, size, 0); |
124 | sg_dma_address(sgt->sgl) = iova; | 124 | /* This bypasses SMMU for VPR during gmmu_map. */ |
125 | sg_dma_address(sgt->sgl) = 0; | ||
125 | 126 | ||
126 | desc->sgt = sgt; | 127 | desc->sgt = sgt; |
127 | 128 | ||