diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-02-23 13:17:52 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-03-02 11:53:32 -0500 |
commit | 58c72012f4a8b554083cdf7ea8061b98e8de02dc (patch) | |
tree | 7afac5875692ae400e9b406dc2df96c9322f7139 /drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |
parent | 2cc03def6a6427acdebd8a6053b1309280e5fe9b (diff) |
gpu: nvgpu: gv11b: add gr ops for load tpc mask
gr_fe_tpc_fs_r addr is different for t19x
Change-Id: Ibae4b7224ffbd4d8366890cd05649b1b66e22f02
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/1310327
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index a67b1476..c512322b 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |||
@@ -2005,6 +2005,11 @@ void gr_gv11b_init_elcg_mode(struct gk20a *g, u32 mode, u32 engine) | |||
2005 | gk20a_writel(g, therm_gate_ctrl_r(engine), gate_ctrl); | 2005 | gk20a_writel(g, therm_gate_ctrl_r(engine), gate_ctrl); |
2006 | } | 2006 | } |
2007 | 2007 | ||
2008 | static void gr_gv11b_load_tpc_mask(struct gk20a *g) | ||
2009 | { | ||
2010 | /* TODO */ | ||
2011 | } | ||
2012 | |||
2008 | void gv11b_init_gr(struct gpu_ops *gops) | 2013 | void gv11b_init_gr(struct gpu_ops *gops) |
2009 | { | 2014 | { |
2010 | gp10b_init_gr(gops); | 2015 | gp10b_init_gr(gops); |
@@ -2061,5 +2066,6 @@ void gv11b_init_gr(struct gpu_ops *gops) | |||
2061 | gops->gr.write_zcull_ptr = gr_gv11b_write_zcull_ptr; | 2066 | gops->gr.write_zcull_ptr = gr_gv11b_write_zcull_ptr; |
2062 | gops->gr.write_pm_ptr = gr_gv11b_write_pm_ptr; | 2067 | gops->gr.write_pm_ptr = gr_gv11b_write_pm_ptr; |
2063 | gops->gr.init_elcg_mode = gr_gv11b_init_elcg_mode; | 2068 | gops->gr.init_elcg_mode = gr_gv11b_init_elcg_mode; |
2069 | gops->gr.load_tpc_mask = gr_gv11b_load_tpc_mask; | ||
2064 | 2070 | ||
2065 | } | 2071 | } |