summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/fifo_vgpu.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/fifo_vgpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
index d077f329..3ea326b8 100644
--- a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
+++ b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c
@@ -249,7 +249,7 @@ static int init_runlist(struct gk20a *g, struct fifo_gk20a *f)
249 goto clean_up_runlist; 249 goto clean_up_runlist;
250 } 250 }
251 } 251 }
252 nvgpu_mutex_init(&runlist->mutex); 252 nvgpu_mutex_init(&runlist->runlist_lock);
253 253
254 /* None of buffers is pinned if this value doesn't change. 254 /* None of buffers is pinned if this value doesn't change.
255 Otherwise, one of them (cur_buffer) must have been pinned. */ 255 Otherwise, one of them (cur_buffer) must have been pinned. */
@@ -585,12 +585,12 @@ int vgpu_fifo_update_runlist(struct gk20a *g, u32 runlist_id,
585 585
586 runlist = &f->runlist_info[runlist_id]; 586 runlist = &f->runlist_info[runlist_id];
587 587
588 nvgpu_mutex_acquire(&runlist->mutex); 588 nvgpu_mutex_acquire(&runlist->runlist_lock);
589 589
590 ret = vgpu_fifo_update_runlist_locked(g, runlist_id, chid, add, 590 ret = vgpu_fifo_update_runlist_locked(g, runlist_id, chid, add,
591 wait_for_finish); 591 wait_for_finish);
592 592
593 nvgpu_mutex_release(&runlist->mutex); 593 nvgpu_mutex_release(&runlist->runlist_lock);
594 return ret; 594 return ret;
595} 595}
596 596