diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2017-02-06 18:54:37 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-02-07 18:16:59 -0500 |
commit | 521253acb761041a5d9ba97a7a789fe02682a03d (patch) | |
tree | 133a2072f8b4069cf07324c491713cee8ea38801 /drivers/gpu/nvgpu/gm20b/gr_gm20b.c | |
parent | 8c3dddd81fb0ab2bd9e8582c0765734432931caf (diff) |
gpu: nvgpu: implement chip specific init_elcg_mode
Added function pointer to implement chip specific
init_elcg mode and updated this pointer for legacy chips.
JIRA GV11B-58
Change-Id: I3fff4f771eaa5dad98a3d8166c9127ecd6b745e4
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/1300120
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/gr_gm20b.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c index 391fb8a2..0e0d3f62 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c | |||
@@ -1605,5 +1605,6 @@ void gm20b_init_gr(struct gpu_ops *gops) | |||
1605 | gops->gr.commit_inst = gr_gk20a_commit_inst; | 1605 | gops->gr.commit_inst = gr_gk20a_commit_inst; |
1606 | gops->gr.write_zcull_ptr = gr_gk20a_write_zcull_ptr; | 1606 | gops->gr.write_zcull_ptr = gr_gk20a_write_zcull_ptr; |
1607 | gops->gr.write_pm_ptr = gr_gk20a_write_pm_ptr; | 1607 | gops->gr.write_pm_ptr = gr_gk20a_write_pm_ptr; |
1608 | gops->gr.init_elcg_mode = gr_gk20a_init_elcg_mode; | ||
1608 | 1609 | ||
1609 | } | 1610 | } |