diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c index dc3debf2..71400331 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |||
@@ -520,8 +520,6 @@ static int gk20a_init_fifo_setup_sw(struct gk20a *g) | |||
520 | mutex_init(&f->free_chs_mutex); | 520 | mutex_init(&f->free_chs_mutex); |
521 | 521 | ||
522 | for (chid = 0; chid < f->num_channels; chid++) { | 522 | for (chid = 0; chid < f->num_channels; chid++) { |
523 | f->channel[chid].userd_cpu_va = | ||
524 | f->userd.cpu_va + chid * f->userd_entry_size; | ||
525 | f->channel[chid].userd_iova = | 523 | f->channel[chid].userd_iova = |
526 | g->ops.mm.get_iova_addr(g, f->userd.sgt->sgl, 0) | 524 | g->ops.mm.get_iova_addr(g, f->userd.sgt->sgl, 0) |
527 | + chid * f->userd_entry_size; | 525 | + chid * f->userd_entry_size; |