summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
diff options
context:
space:
mode:
authorSami Kiminki <skiminki@nvidia.com>2018-02-08 16:29:41 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-02-09 11:51:48 -0500
commitff5b12fffd7563ce0704fadbc9c479caf851d68c (patch)
tree62f7b0840a88c523fd033f8f6393f9d292b4b115 /drivers/gpu/nvgpu/gv11b/hal_gv11b.c
parent244a124ce2ae5daa10283f3129843a72bc36676e (diff)
gpu: nvgpu: gv11b: Fix CBC base calculus
On GV11B, CBC base is calculated in similar fashion than it's calculated on dGPUs. Thus, remove gv11b_ltc_cbc_fix_config() as it would incorrectly multiply the CBC base by the LTC count. Bug 2054860 Change-Id: Iaed717161547468c17e12236149d970c497885b3 Signed-off-by: Sami Kiminki <skiminki@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1654506 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/hal_gv11b.c')
-rw-r--r--drivers/gpu/nvgpu/gv11b/hal_gv11b.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
index 72537b44..3ce557bc 100644
--- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
@@ -236,7 +236,6 @@ static const struct gpu_ops gv11b_ops = {
236 .init_comptags = gp10b_ltc_init_comptags, 236 .init_comptags = gp10b_ltc_init_comptags,
237 .cbc_ctrl = gp10b_ltc_cbc_ctrl, 237 .cbc_ctrl = gp10b_ltc_cbc_ctrl,
238 .isr = gv11b_ltc_isr, 238 .isr = gv11b_ltc_isr,
239 .cbc_fix_config = gv11b_ltc_cbc_fix_config,
240 .flush = gm20b_flush_ltc, 239 .flush = gm20b_flush_ltc,
241 .set_enabled = gp10b_ltc_set_enabled, 240 .set_enabled = gp10b_ltc_set_enabled,
242 }, 241 },