diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c index 63896228..7eb28f2f 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |||
@@ -541,7 +541,7 @@ static void gk20a_remove_fifo_support(struct fifo_gk20a *f) | |||
541 | nvgpu_vfree(g, f->channel); | 541 | nvgpu_vfree(g, f->channel); |
542 | nvgpu_vfree(g, f->tsg); | 542 | nvgpu_vfree(g, f->tsg); |
543 | if (g->ops.mm.is_bar1_supported(g)) | 543 | if (g->ops.mm.is_bar1_supported(g)) |
544 | nvgpu_dma_unmap_free(&g->mm.bar1.vm, &f->userd); | 544 | nvgpu_dma_unmap_free(g->mm.bar1.vm, &f->userd); |
545 | else | 545 | else |
546 | nvgpu_dma_free(g, &f->userd); | 546 | nvgpu_dma_free(g, &f->userd); |
547 | 547 | ||
@@ -923,7 +923,7 @@ static int gk20a_init_fifo_setup_sw(struct gk20a *g) | |||
923 | nvgpu_mutex_init(&f->free_chs_mutex); | 923 | nvgpu_mutex_init(&f->free_chs_mutex); |
924 | 924 | ||
925 | if (g->ops.mm.is_bar1_supported(g)) | 925 | if (g->ops.mm.is_bar1_supported(g)) |
926 | err = nvgpu_dma_alloc_map_sys(&g->mm.bar1.vm, | 926 | err = nvgpu_dma_alloc_map_sys(g->mm.bar1.vm, |
927 | f->userd_entry_size * f->num_channels, | 927 | f->userd_entry_size * f->num_channels, |
928 | &f->userd); | 928 | &f->userd); |
929 | 929 | ||
@@ -963,7 +963,7 @@ static int gk20a_init_fifo_setup_sw(struct gk20a *g) | |||
963 | clean_up: | 963 | clean_up: |
964 | gk20a_dbg_fn("fail"); | 964 | gk20a_dbg_fn("fail"); |
965 | if (g->ops.mm.is_bar1_supported(g)) | 965 | if (g->ops.mm.is_bar1_supported(g)) |
966 | nvgpu_dma_unmap_free(&g->mm.bar1.vm, &f->userd); | 966 | nvgpu_dma_unmap_free(g->mm.bar1.vm, &f->userd); |
967 | else | 967 | else |
968 | nvgpu_dma_free(g, &f->userd); | 968 | nvgpu_dma_free(g, &f->userd); |
969 | 969 | ||