diff options
author | Leon Yu <leoyu@nvidia.com> | 2018-08-02 04:20:16 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-08-06 20:36:53 -0400 |
commit | 7f8752fa45a774706c329d2daf94bdfff7721ed7 (patch) | |
tree | de50b0684e8836cf1969ba9f7d266ef5e63eb17f /drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |
parent | 17aeea4a2ffa23fc9dbcdc84cda747fe5a025131 (diff) |
gpu: nvgpu: reduce verbosity of TPC PG mask and status being same
Once tpc_pg_mask is programmed successfully, TPC PG mask and status
will be the same value afterwards and won't change. So we don't have
to inform user whenever gr_gv11b_powergate_tpc() is invoked.
Bug 200406784
Bug 200436857
Change-Id: I52f7bdbbbc0851b59366b1cd7d25ae7b8b9fa14e
Signed-off-by: Leon Yu <leoyu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1791008
(cherry picked from commit c8872d61a2bc40e09e137a4bb81923c4747a2dcc)
Reviewed-on: https://git-master.nvidia.com/r/1791656
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
Reviewed-by: Deepak Goyal <dgoyal@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index 2fd7b8ee..c925e5b6 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |||
@@ -134,7 +134,6 @@ void gr_gv11b_powergate_tpc(struct gk20a *g) | |||
134 | u32 tpc_pg_status = gk20a_readl(g, fuse_status_opt_tpc_gpc_r(0)); | 134 | u32 tpc_pg_status = gk20a_readl(g, fuse_status_opt_tpc_gpc_r(0)); |
135 | 135 | ||
136 | if (tpc_pg_status == g->tpc_pg_mask) { | 136 | if (tpc_pg_status == g->tpc_pg_mask) { |
137 | nvgpu_info(g, "TPC-PG mask and TPC-PG status is same"); | ||
138 | return; | 137 | return; |
139 | } | 138 | } |
140 | 139 | ||