diff options
author | ddutta <ddutta@nvidia.com> | 2020-02-26 05:37:29 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2020-02-28 10:42:46 -0500 |
commit | fbad02d5e045fbc10f44fbecf419235938d4d0bc (patch) | |
tree | 3baba48815e50221ca096ec5e7275266cbe1f717 /drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |
parent | aaecfae53f60715e52a9e29a956d0246f4f0bafa (diff) |
gpu: nvgpu: remove blcg_enable/disable
blcg is always enabled by default and there is no need for disabling
this during gr init or gr reset.
Bug 2866010
Change-Id: Iaf17b7fdf05ad04fe435e1a1fda758deedc6484c
Signed-off-by: ddutta <ddutta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2303114
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Sagar Kamble <skamble@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gr_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c index d24b8bf7..989ee5c9 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.c | |||
@@ -4694,9 +4694,6 @@ static int gk20a_init_gr_prepare(struct gk20a *g) | |||
4694 | /* Disable elcg until it gets enabled later in the init*/ | 4694 | /* Disable elcg until it gets enabled later in the init*/ |
4695 | nvgpu_cg_elcg_disable_no_wait(g); | 4695 | nvgpu_cg_elcg_disable_no_wait(g); |
4696 | 4696 | ||
4697 | /* Disable blcg until it gets enabled later in the init*/ | ||
4698 | nvgpu_cg_blcg_disable_no_wait(g); | ||
4699 | |||
4700 | /* enable fifo access */ | 4697 | /* enable fifo access */ |
4701 | gk20a_writel(g, gr_gpfifo_ctl_r(), | 4698 | gk20a_writel(g, gr_gpfifo_ctl_r(), |
4702 | gr_gpfifo_ctl_access_enabled_f() | | 4699 | gr_gpfifo_ctl_access_enabled_f() | |
@@ -5163,7 +5160,6 @@ int gk20a_gr_reset(struct gk20a *g) | |||
5163 | 5160 | ||
5164 | nvgpu_cg_init_gr_load_gating_prod(g); | 5161 | nvgpu_cg_init_gr_load_gating_prod(g); |
5165 | nvgpu_cg_elcg_enable_no_wait(g); | 5162 | nvgpu_cg_elcg_enable_no_wait(g); |
5166 | nvgpu_cg_blcg_enable_no_wait(g); | ||
5167 | 5163 | ||
5168 | /* GR is inialized, signal possible waiters */ | 5164 | /* GR is inialized, signal possible waiters */ |
5169 | g->gr.initialized = true; | 5165 | g->gr.initialized = true; |