diff options
author | Peter Daifuku <pdaifuku@nvidia.com> | 2017-10-13 20:15:46 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-25 23:24:16 -0400 |
commit | 1cbb5ea0235f15180b1d4299499cab85db23c5ce (patch) | |
tree | 18fbd95dc57ee2d843df1e50efcedd8b6905584f /drivers/gpu/nvgpu/vgpu | |
parent | 914ded175c7e0517f506cb8ba03807227b88866f (diff) |
gpu: nvgpu: init_cyclestats fixes
- in the native case, replace calls for init_cyclestats with
the gm20b version, as each chip had identical versions of the code.
- in the virtual case, use the vgpu version of the function in order
to get the new max_css_buffer_size characteristic set to the mempool
size.
JIRA ESRM-54
Bug 200296210
Change-Id: I475876cb392978fb1350ede58e37d0962ae095c3
Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1578934
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c index 7f6df820..80d0ae54 100644 --- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c +++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | |||
@@ -162,7 +162,7 @@ static const struct gpu_ops vgpu_gv11b_ops = { | |||
162 | .get_max_fbps_count = vgpu_gr_get_max_fbps_count, | 162 | .get_max_fbps_count = vgpu_gr_get_max_fbps_count, |
163 | .init_sm_dsm_reg_info = gv11b_gr_init_sm_dsm_reg_info, | 163 | .init_sm_dsm_reg_info = gv11b_gr_init_sm_dsm_reg_info, |
164 | .wait_empty = gr_gv11b_wait_empty, | 164 | .wait_empty = gr_gv11b_wait_empty, |
165 | .init_cyclestats = gr_gv11b_init_cyclestats, | 165 | .init_cyclestats = vgpu_gr_gm20b_init_cyclestats, |
166 | .set_sm_debug_mode = vgpu_gr_set_sm_debug_mode, | 166 | .set_sm_debug_mode = vgpu_gr_set_sm_debug_mode, |
167 | .enable_cde_in_fecs = gr_gm20b_enable_cde_in_fecs, | 167 | .enable_cde_in_fecs = gr_gm20b_enable_cde_in_fecs, |
168 | .bpt_reg_info = gv11b_gr_bpt_reg_info, | 168 | .bpt_reg_info = gv11b_gr_bpt_reg_info, |