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/gk20a/gk20a.h | |
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/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index dd64e3b2..5539ca62 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -579,6 +579,8 @@ struct gpu_ops { | |||
579 | u32 flags); | 579 | u32 flags); |
580 | int (*bar1_bind)(struct gk20a *g, struct mem_desc *bar1_inst); | 580 | int (*bar1_bind)(struct gk20a *g, struct mem_desc *bar1_inst); |
581 | size_t (*get_vidmem_size)(struct gk20a *g); | 581 | size_t (*get_vidmem_size)(struct gk20a *g); |
582 | void (*init_inst_block)(struct mem_desc *inst_block, | ||
583 | struct vm_gk20a *vm, u32 big_page_size); | ||
582 | } mm; | 584 | } mm; |
583 | struct { | 585 | struct { |
584 | int (*init_therm_setup_hw)(struct gk20a *g); | 586 | int (*init_therm_setup_hw)(struct gk20a *g); |