diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c index c8460bd9..7180256a 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c | |||
@@ -693,7 +693,7 @@ static int nvgpu_gpu_alloc_vidmem(struct gk20a *g, | |||
693 | return -EINVAL; | 693 | return -EINVAL; |
694 | } | 694 | } |
695 | 695 | ||
696 | fd = gk20a_vidmem_buf_alloc(g, args->in.size); | 696 | fd = nvgpu_vidmem_buf_alloc(g, args->in.size); |
697 | if (fd < 0) | 697 | if (fd < 0) |
698 | return fd; | 698 | return fd; |
699 | 699 | ||
@@ -715,7 +715,7 @@ static int nvgpu_gpu_get_memory_state(struct gk20a *g, | |||
715 | args->reserved[2] || args->reserved[3]) | 715 | args->reserved[2] || args->reserved[3]) |
716 | return -EINVAL; | 716 | return -EINVAL; |
717 | 717 | ||
718 | err = gk20a_vidmem_get_space(g, &args->total_free_bytes); | 718 | err = nvgpu_vidmem_get_space(g, &args->total_free_bytes); |
719 | 719 | ||
720 | gk20a_dbg_fn("done, err=%d, bytes=%lld", err, args->total_free_bytes); | 720 | gk20a_dbg_fn("done, err=%d, bytes=%lld", err, args->total_free_bytes); |
721 | 721 | ||