diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-01-19 18:16:44 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-01-24 17:42:16 -0500 |
commit | fb0a23ea168fd0947d9bc1064f91f15ef8a0c057 (patch) | |
tree | 001dc993501eec6e83bf83b19752001a9c470a54 /drivers/gpu/nvgpu/gv100 | |
parent | dcff39ba8ca18a8f2f8fa860118c2757a5370413 (diff) |
gpu: nvgpu: Implement gp10b variant of cbc_ctrl
Pascal has support for more comptags than Maxwell, but we were using
gm20b definitions for cbc_ctrl on all chips. Specifically field
clear_upper_bound is one bit wider in Pascal.
Implement gp10b version of cbc_ctrl and take that into use in Pascal
and Volta.
Bug 200381317
Change-Id: I7d3cb9e92498e08f8704f156e2afb34404ce587e
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1642574
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv100')
-rw-r--r-- | drivers/gpu/nvgpu/gv100/hal_gv100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c index 6103b923..f8302621 100644 --- a/drivers/gpu/nvgpu/gv100/hal_gv100.c +++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c | |||
@@ -267,7 +267,7 @@ static const struct gpu_ops gv100_ops = { | |||
267 | .init_cbc = NULL, | 267 | .init_cbc = NULL, |
268 | .init_fs_state = gv11b_ltc_init_fs_state, | 268 | .init_fs_state = gv11b_ltc_init_fs_state, |
269 | .init_comptags = gp10b_ltc_init_comptags, | 269 | .init_comptags = gp10b_ltc_init_comptags, |
270 | .cbc_ctrl = gm20b_ltc_cbc_ctrl, | 270 | .cbc_ctrl = gp10b_ltc_cbc_ctrl, |
271 | .isr = gv11b_ltc_isr, | 271 | .isr = gv11b_ltc_isr, |
272 | .cbc_fix_config = NULL, | 272 | .cbc_fix_config = NULL, |
273 | .flush = gm20b_flush_ltc, | 273 | .flush = gm20b_flush_ltc, |