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/gp106/hal_gp106.c | |
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/gp106/hal_gp106.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/hal_gp106.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c index 68562955..7a57672e 100644 --- a/drivers/gpu/nvgpu/gp106/hal_gp106.c +++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c | |||
@@ -236,7 +236,7 @@ static const struct gpu_ops gp106_ops = { | |||
236 | .init_cbc = NULL, | 236 | .init_cbc = NULL, |
237 | .init_fs_state = gm20b_ltc_init_fs_state, | 237 | .init_fs_state = gm20b_ltc_init_fs_state, |
238 | .init_comptags = gp10b_ltc_init_comptags, | 238 | .init_comptags = gp10b_ltc_init_comptags, |
239 | .cbc_ctrl = gm20b_ltc_cbc_ctrl, | 239 | .cbc_ctrl = gp10b_ltc_cbc_ctrl, |
240 | .isr = gp10b_ltc_isr, | 240 | .isr = gp10b_ltc_isr, |
241 | .cbc_fix_config = NULL, | 241 | .cbc_fix_config = NULL, |
242 | .flush = gm20b_flush_ltc, | 242 | .flush = gm20b_flush_ltc, |