summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/ctrl_gk20a.c
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2016-10-12 18:16:47 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-18 19:46:15 -0500
commit911dcedb489ebef5758e5533f73e8653cc7770b7 (patch)
tree15a95a842f5a24af0a8d88c605c02b86d3ab4101 /drivers/gpu/nvgpu/gk20a/ctrl_gk20a.c
parent28fb1de00a907719a02cee62c7e7f3a0aee7075f (diff)
gpu: nvgpu: support t19x zbc
Added infrastructure for supporting new zbc features JIRA GV11B-9 Change-Id: Id8408348759488e8b0393dd89dd0faacfb111f01 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: http://git-master/r/1235525 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ctrl_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/ctrl_gk20a.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ctrl_gk20a.c b/drivers/gpu/nvgpu/gk20a/ctrl_gk20a.c
index 26eea610..aa2c4959 100644
--- a/drivers/gpu/nvgpu/gk20a/ctrl_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/ctrl_gk20a.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2011-2016, NVIDIA Corporation. All rights reserved. 2 * Copyright (c) 2011-2017, NVIDIA Corporation. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -1413,6 +1413,7 @@ long gk20a_ctrl_dev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg
1413 } 1413 }
1414 break; 1414 break;
1415 case GK20A_ZBC_TYPE_DEPTH: 1415 case GK20A_ZBC_TYPE_DEPTH:
1416 case T19X_ZBC:
1416 zbc_val->depth = set_table_args->depth; 1417 zbc_val->depth = set_table_args->depth;
1417 break; 1418 break;
1418 default: 1419 default:
@@ -1452,6 +1453,7 @@ long gk20a_ctrl_dev_ioctl(struct file *filp, unsigned int cmd, unsigned long arg
1452 } 1453 }
1453 break; 1454 break;
1454 case GK20A_ZBC_TYPE_DEPTH: 1455 case GK20A_ZBC_TYPE_DEPTH:
1456 case T19X_ZBC:
1455 query_table_args->depth = zbc_tbl->depth; 1457 query_table_args->depth = zbc_tbl->depth;
1456 break; 1458 break;
1457 case GK20A_ZBC_TYPE_INVALID: 1459 case GK20A_ZBC_TYPE_INVALID: