mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
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:
committed by
Alex Waterman
parent
b9ce3d50fc
commit
b012d50d9b
@@ -1857,7 +1857,6 @@ long gk20a_ctrl_dev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg
|
||||
}
|
||||
break;
|
||||
case NVGPU_GR_ZBC_TYPE_DEPTH:
|
||||
case NVGPU_GR_ZBC_TYPE_STENCIL:
|
||||
nvgpu_gr_zbc_set_entry_depth(zbc_val,
|
||||
set_table_args->depth);
|
||||
break;
|
||||
@@ -1898,7 +1897,6 @@ long gk20a_ctrl_dev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg
|
||||
}
|
||||
break;
|
||||
case NVGPU_GR_ZBC_TYPE_DEPTH:
|
||||
case NVGPU_GR_ZBC_TYPE_STENCIL:
|
||||
query_table_args->depth = zbc_tbl->depth;
|
||||
break;
|
||||
case NVGPU_GR_ZBC_TYPE_INVALID:
|
||||
|
||||
Reference in New Issue
Block a user