diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c index ebbe7dda..b751a337 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c | |||
@@ -753,13 +753,6 @@ static int gk20a_ctrl_vsm_mapping(struct gk20a *g, | |||
753 | return err; | 753 | return err; |
754 | } | 754 | } |
755 | 755 | ||
756 | static int gk20a_ctrl_get_buffer_info( | ||
757 | struct gk20a *g, struct nvgpu_gpu_get_buffer_info_args *args) | ||
758 | { | ||
759 | return gk20a_mm_get_buffer_info(dev_from_gk20a(g), args->in.dmabuf_fd, | ||
760 | &args->out.id, &args->out.length); | ||
761 | } | ||
762 | |||
763 | static int nvgpu_gpu_get_cpu_time_correlation_info( | 756 | static int nvgpu_gpu_get_cpu_time_correlation_info( |
764 | struct gk20a *g, | 757 | struct gk20a *g, |
765 | struct nvgpu_gpu_get_cpu_time_correlation_info_args *args) | 758 | struct nvgpu_gpu_get_cpu_time_correlation_info_args *args) |
@@ -1757,11 +1750,6 @@ long gk20a_ctrl_dev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg | |||
1757 | (struct nvgpu_gpu_vsms_mapping *)buf); | 1750 | (struct nvgpu_gpu_vsms_mapping *)buf); |
1758 | break; | 1751 | break; |
1759 | 1752 | ||
1760 | case NVGPU_GPU_IOCTL_GET_BUFFER_INFO: | ||
1761 | err = gk20a_ctrl_get_buffer_info(g, | ||
1762 | (struct nvgpu_gpu_get_buffer_info_args *)buf); | ||
1763 | break; | ||
1764 | |||
1765 | case NVGPU_GPU_IOCTL_GET_CPU_TIME_CORRELATION_INFO: | 1753 | case NVGPU_GPU_IOCTL_GET_CPU_TIME_CORRELATION_INFO: |
1766 | err = nvgpu_gpu_get_cpu_time_correlation_info(g, | 1754 | err = nvgpu_gpu_get_cpu_time_correlation_info(g, |
1767 | (struct nvgpu_gpu_get_cpu_time_correlation_info_args *)buf); | 1755 | (struct nvgpu_gpu_get_cpu_time_correlation_info_args *)buf); |