diff options
author | David Nieto <dmartineznie@nvidia.com> | 2017-10-23 17:01:28 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-26 20:56:15 -0400 |
commit | 20294264468eecc8c1a065aa83d5f1b46ff07e7e (patch) | |
tree | 32c498100afb27216ab580907917d83c6e730c51 /drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |
parent | 938785f1525ce0ae654c2be0911e15816617995d (diff) |
gpu: nvgpu: gv1xx: resize patch buffer
Follow the sizing consideration in bug 1753763 to support dynamic TPC modes
and subcontexts.
bug 200350539
Change-Id: Ibbdbf02f9c2ea3f082c1b2810ae7176b0775d461
Signed-off-by: David Nieto <dmartineznie@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1584034
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index 400c2ad0..4de9786b 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |||
@@ -227,6 +227,7 @@ static const struct gpu_ops gv11b_ops = { | |||
227 | .get_num_pce = gv11b_ce_get_num_pce, | 227 | .get_num_pce = gv11b_ce_get_num_pce, |
228 | }, | 228 | }, |
229 | .gr = { | 229 | .gr = { |
230 | .get_patch_slots = gr_gv100_get_patch_slots, | ||
230 | .init_gpc_mmu = gr_gv11b_init_gpc_mmu, | 231 | .init_gpc_mmu = gr_gv11b_init_gpc_mmu, |
231 | .bundle_cb_defaults = gr_gv11b_bundle_cb_defaults, | 232 | .bundle_cb_defaults = gr_gv11b_bundle_cb_defaults, |
232 | .cb_size_default = gr_gv11b_cb_size_default, | 233 | .cb_size_default = gr_gv11b_cb_size_default, |