diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2017-10-23 13:20:12 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-25 14:23:24 -0400 |
commit | c6ccb5f2a1e9a8999436f6c28ed5c416c5418ae3 (patch) | |
tree | dc1b7459c0a6c6d46ef2b0b3bd345c4522ae7e1e /drivers/gpu/nvgpu/gv11b/regops_gv11b.c | |
parent | 0899e11d4bb630381607a0c245f72476e2e9209e (diff) |
gpu: nvgpu: gv11b: use scg perf for smid numbering
For SCG to work, smid numbering needs to be done
based on scg performance of tpcs. For gv11b and
gv11b vgpu, reuse gv100 function "gr_gv100_init_sm_id_table"
to do this.
Used local variable "index" to avoid multiple computations in
the function: gr_gv100_init_sm_id_table
index = sm_id + sm
Add deug info for printing initialized gpc/tpc/sm/global_tpc
indexs.
Bug 1842197
Change-Id: Ibf10f47f10a8ca58b86c307a22e159b2cc0d0f43
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1583916
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/regops_gv11b.c')
0 files changed, 0 insertions, 0 deletions