diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_as.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_as.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_as.c b/drivers/gpu/nvgpu/common/linux/ioctl_as.c index 273024bd..6fd0a3d2 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_as.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl_as.c | |||
@@ -227,31 +227,6 @@ static int gk20a_as_ioctl_get_va_regions( | |||
227 | return 0; | 227 | return 0; |
228 | } | 228 | } |
229 | 229 | ||
230 | static int gk20a_as_ioctl_get_buffer_compbits_info( | ||
231 | struct gk20a_as_share *as_share, | ||
232 | struct nvgpu_as_get_buffer_compbits_info_args *args) | ||
233 | { | ||
234 | gk20a_dbg_fn(""); | ||
235 | return nvgpu_vm_get_compbits_info(as_share->vm, | ||
236 | args->mapping_gva, | ||
237 | &args->compbits_win_size, | ||
238 | &args->compbits_win_ctagline, | ||
239 | &args->mapping_ctagline, | ||
240 | &args->flags); | ||
241 | } | ||
242 | |||
243 | static int gk20a_as_ioctl_map_buffer_compbits( | ||
244 | struct gk20a_as_share *as_share, | ||
245 | struct nvgpu_as_map_buffer_compbits_args *args) | ||
246 | { | ||
247 | gk20a_dbg_fn(""); | ||
248 | return nvgpu_vm_map_compbits(as_share->vm, | ||
249 | args->mapping_gva, | ||
250 | &args->compbits_win_gva, | ||
251 | &args->mapping_iova, | ||
252 | args->flags); | ||
253 | } | ||
254 | |||
255 | int gk20a_as_dev_open(struct inode *inode, struct file *filp) | 230 | int gk20a_as_dev_open(struct inode *inode, struct file *filp) |
256 | { | 231 | { |
257 | struct nvgpu_os_linux *l; | 232 | struct nvgpu_os_linux *l; |
@@ -364,14 +339,6 @@ long gk20a_as_dev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) | |||
364 | err = gk20a_as_ioctl_get_va_regions(as_share, | 339 | err = gk20a_as_ioctl_get_va_regions(as_share, |
365 | (struct nvgpu_as_get_va_regions_args *)buf); | 340 | (struct nvgpu_as_get_va_regions_args *)buf); |
366 | break; | 341 | break; |
367 | case NVGPU_AS_IOCTL_GET_BUFFER_COMPBITS_INFO: | ||
368 | err = gk20a_as_ioctl_get_buffer_compbits_info(as_share, | ||
369 | (struct nvgpu_as_get_buffer_compbits_info_args *)buf); | ||
370 | break; | ||
371 | case NVGPU_AS_IOCTL_MAP_BUFFER_COMPBITS: | ||
372 | err = gk20a_as_ioctl_map_buffer_compbits(as_share, | ||
373 | (struct nvgpu_as_map_buffer_compbits_args *)buf); | ||
374 | break; | ||
375 | case NVGPU_AS_IOCTL_MAP_BUFFER_BATCH: | 342 | case NVGPU_AS_IOCTL_MAP_BUFFER_BATCH: |
376 | err = gk20a_as_ioctl_map_buffer_batch(as_share, | 343 | err = gk20a_as_ioctl_map_buffer_batch(as_share, |
377 | (struct nvgpu_as_map_buffer_batch_args *)buf); | 344 | (struct nvgpu_as_map_buffer_batch_args *)buf); |