gpu: nvgpu: remove zbc stencil ioctl query

Currently, ctrl ioctl NVGPU_GPU_IOCTL_ZBC_QUERY_TABLE or
NVGPU_GPU_IOCTL_ZBC_SET_TABLE for stencil type, nvgpu returns value for
depth instead.
Remove NVGPU_GR_ZBC_TYPE_STENCIL case from both ctrl ioctls.

Bug 3077459

Change-Id: I394344e9b80c05df72d8f7e0a79371966c9aea4c
Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2394948
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Vedashree Vidwans
2020-08-05 17:32:35 -07:00
committed by Alex Waterman
parent b9ce3d50fc
commit b012d50d9b

View File

@@ -1857,7 +1857,6 @@ long gk20a_ctrl_dev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg
} }
break; break;
case NVGPU_GR_ZBC_TYPE_DEPTH: case NVGPU_GR_ZBC_TYPE_DEPTH:
case NVGPU_GR_ZBC_TYPE_STENCIL:
nvgpu_gr_zbc_set_entry_depth(zbc_val, nvgpu_gr_zbc_set_entry_depth(zbc_val,
set_table_args->depth); set_table_args->depth);
break; break;
@@ -1898,7 +1897,6 @@ long gk20a_ctrl_dev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg
} }
break; break;
case NVGPU_GR_ZBC_TYPE_DEPTH: case NVGPU_GR_ZBC_TYPE_DEPTH:
case NVGPU_GR_ZBC_TYPE_STENCIL:
query_table_args->depth = zbc_tbl->depth; query_table_args->depth = zbc_tbl->depth;
break; break;
case NVGPU_GR_ZBC_TYPE_INVALID: case NVGPU_GR_ZBC_TYPE_INVALID: