diff options
author | Deepak Goyal <dgoyal@nvidia.com> | 2018-03-01 05:57:51 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-06 00:18:29 -0500 |
commit | 963fac80687c1e7d8941a281cace3ccdcc34fc68 (patch) | |
tree | cfdd0d967cd3348025acff02ea7d2f12e31322ea /drivers/gpu/nvgpu/perf/perf.h | |
parent | 26b91946031a88293c7ce563ff923802af6509ce (diff) |
gpu: nvgpu: initialize max_subctx_count before use
PMU instance block layout is not getting
populated with subctx pdb info as max_subctx_count is
0x0 and is getting initialized after PMU instance block
initialization gets completed.
Therefore initializing max_subctx_count before using it.
For Volta, FECS can bind itself with the PMU instance
only if SC PDB info is populated.
Bug 2051863
Bug 200392620
Change-Id: Id4fc26502e189c15cb57cb36cc09387dad773dc5
Signed-off-by: Deepak Goyal <dgoyal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1666585
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/perf/perf.h')
0 files changed, 0 insertions, 0 deletions