diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2016-11-16 13:25:20 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-11-21 11:50:45 -0500 |
commit | ef95e43d973fb2200857c9165b24d8260b2e219a (patch) | |
tree | 9844e2fae264e151c9da926d3de998e1f288f335 /drivers/gpu/nvgpu/gm20b/mm_gm20b.c | |
parent | 499aaafa976f5228b1050fe6ca3e4ca91ad53661 (diff) |
gpu: nvgpu: chip specific init_inst_block
Add function pointer to add chip specific init_inst_block.
Update this function pointer for gk20a and gm20b.
JIRA GV11B-21
Change-Id: I74ca6a8b4d5d1ed36f7b25b7f62361c2789b9540
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/1254875
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/mm_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/mm_gm20b.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/mm_gm20b.c b/drivers/gpu/nvgpu/gm20b/mm_gm20b.c index 36d1192a..e1a135f8 100644 --- a/drivers/gpu/nvgpu/gm20b/mm_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/mm_gm20b.c | |||
@@ -192,4 +192,5 @@ void gm20b_init_mm(struct gpu_ops *gops) | |||
192 | gops->mm.init_mm_setup_hw = gk20a_init_mm_setup_hw; | 192 | gops->mm.init_mm_setup_hw = gk20a_init_mm_setup_hw; |
193 | gops->mm.bar1_bind = gm20b_mm_bar1_bind; | 193 | gops->mm.bar1_bind = gm20b_mm_bar1_bind; |
194 | gops->mm.is_bar1_supported = gm20b_mm_is_bar1_supported; | 194 | gops->mm.is_bar1_supported = gm20b_mm_is_bar1_supported; |
195 | gops->mm.init_inst_block = gk20a_init_inst_block; | ||
195 | } | 196 | } |