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/gv100/hal_gv100.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/gv100/hal_gv100.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv100/hal_gv100.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c index e51b4446..61e9e46d 100644 --- a/drivers/gpu/nvgpu/gv100/hal_gv100.c +++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c | |||
@@ -261,6 +261,7 @@ static const struct gpu_ops gv100_ops = { | |||
261 | .get_num_pce = gv11b_ce_get_num_pce, | 261 | .get_num_pce = gv11b_ce_get_num_pce, |
262 | }, | 262 | }, |
263 | .gr = { | 263 | .gr = { |
264 | .get_patch_slots = gr_gv100_get_patch_slots, | ||
264 | .init_gpc_mmu = gr_gv11b_init_gpc_mmu, | 265 | .init_gpc_mmu = gr_gv11b_init_gpc_mmu, |
265 | .bundle_cb_defaults = gr_gv100_bundle_cb_defaults, | 266 | .bundle_cb_defaults = gr_gv100_bundle_cb_defaults, |
266 | .cb_size_default = gr_gv100_cb_size_default, | 267 | .cb_size_default = gr_gv100_cb_size_default, |