mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: Remove mapping of comptags to user VA
Remove the kernel feature to map compbit backing store areas to GPU VA. The feature is not used, and the relevant user space code is getting removed, too. Change-Id: I94f8bb9145da872694fdc5d3eb3c1365b2f47945 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1547898 Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: Sami Kiminki <skiminki@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
This commit is contained in:
committed by
mobile promotions
parent
d2dce545bb
commit
bb457e675e
@@ -227,31 +227,6 @@ static int gk20a_as_ioctl_get_va_regions(
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int gk20a_as_ioctl_get_buffer_compbits_info(
|
||||
struct gk20a_as_share *as_share,
|
||||
struct nvgpu_as_get_buffer_compbits_info_args *args)
|
||||
{
|
||||
gk20a_dbg_fn("");
|
||||
return nvgpu_vm_get_compbits_info(as_share->vm,
|
||||
args->mapping_gva,
|
||||
&args->compbits_win_size,
|
||||
&args->compbits_win_ctagline,
|
||||
&args->mapping_ctagline,
|
||||
&args->flags);
|
||||
}
|
||||
|
||||
static int gk20a_as_ioctl_map_buffer_compbits(
|
||||
struct gk20a_as_share *as_share,
|
||||
struct nvgpu_as_map_buffer_compbits_args *args)
|
||||
{
|
||||
gk20a_dbg_fn("");
|
||||
return nvgpu_vm_map_compbits(as_share->vm,
|
||||
args->mapping_gva,
|
||||
&args->compbits_win_gva,
|
||||
&args->mapping_iova,
|
||||
args->flags);
|
||||
}
|
||||
|
||||
int gk20a_as_dev_open(struct inode *inode, struct file *filp)
|
||||
{
|
||||
struct nvgpu_os_linux *l;
|
||||
@@ -364,14 +339,6 @@ long gk20a_as_dev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
|
||||
err = gk20a_as_ioctl_get_va_regions(as_share,
|
||||
(struct nvgpu_as_get_va_regions_args *)buf);
|
||||
break;
|
||||
case NVGPU_AS_IOCTL_GET_BUFFER_COMPBITS_INFO:
|
||||
err = gk20a_as_ioctl_get_buffer_compbits_info(as_share,
|
||||
(struct nvgpu_as_get_buffer_compbits_info_args *)buf);
|
||||
break;
|
||||
case NVGPU_AS_IOCTL_MAP_BUFFER_COMPBITS:
|
||||
err = gk20a_as_ioctl_map_buffer_compbits(as_share,
|
||||
(struct nvgpu_as_map_buffer_compbits_args *)buf);
|
||||
break;
|
||||
case NVGPU_AS_IOCTL_MAP_BUFFER_BATCH:
|
||||
err = gk20a_as_ioctl_map_buffer_batch(as_share,
|
||||
(struct nvgpu_as_map_buffer_batch_args *)buf);
|
||||
|
||||
Reference in New Issue
Block a user