diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/acr_gp106.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gp106/acr_gp106.c b/drivers/gpu/nvgpu/gp106/acr_gp106.c index 6cb505d4..35940b97 100644 --- a/drivers/gpu/nvgpu/gp106/acr_gp106.c +++ b/drivers/gpu/nvgpu/gp106/acr_gp106.c | |||
@@ -97,14 +97,14 @@ int gp106_alloc_blob_space(struct gk20a *g, | |||
97 | * Even though this mem_desc wouldn't be used, the wpr region needs to | 97 | * Even though this mem_desc wouldn't be used, the wpr region needs to |
98 | * be reserved in the allocator. | 98 | * be reserved in the allocator. |
99 | */ | 99 | */ |
100 | err = nvgpu_dma_alloc_flags_vid_at(g, | 100 | err = nvgpu_dma_alloc_vid_at(g, |
101 | NVGPU_DMA_NO_KERNEL_MAPPING, wpr_inf.size, | 101 | wpr_inf.size, |
102 | &g->acr.wpr_dummy, wpr_inf.wpr_base); | 102 | &g->acr.wpr_dummy, wpr_inf.wpr_base); |
103 | if (err) | 103 | if (err) |
104 | return err; | 104 | return err; |
105 | 105 | ||
106 | return nvgpu_dma_alloc_flags_vid_at(g, | 106 | return nvgpu_dma_alloc_vid_at(g, |
107 | NVGPU_DMA_NO_KERNEL_MAPPING, wpr_inf.size, mem, | 107 | wpr_inf.size, mem, |
108 | wpr_inf.nonwpr_base); | 108 | wpr_inf.nonwpr_base); |
109 | } | 109 | } |
110 | /* TODO - check if any free blob res needed*/ | 110 | /* TODO - check if any free blob res needed*/ |