diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/therm_gv11b.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/therm_gv11b.c b/drivers/gpu/nvgpu/gv11b/therm_gv11b.c index f2d929fa..fe843325 100644 --- a/drivers/gpu/nvgpu/gv11b/therm_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/therm_gv11b.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GV11B Therm | 2 | * GV11B Therm |
3 | * | 3 | * |
4 | * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2015-2018, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * Permission is hereby granted, free of charge, to any person obtaining a | 6 | * Permission is hereby granted, free of charge, to any person obtaining a |
7 | * copy of this software and associated documentation files (the "Software"), | 7 | * copy of this software and associated documentation files (the "Software"), |
@@ -81,12 +81,18 @@ int gv11b_init_therm_setup_hw(struct gk20a *g) | |||
81 | gk20a_writel(g, therm_config2_r(), v); | 81 | gk20a_writel(g, therm_config2_r(), v); |
82 | 82 | ||
83 | gk20a_writel(g, therm_grad_stepping1_r(), | 83 | gk20a_writel(g, therm_grad_stepping1_r(), |
84 | therm_grad_stepping1_pdiv_duration_f(0x40)); | 84 | therm_grad_stepping1_pdiv_duration_f(0xbf4)); |
85 | 85 | ||
86 | v = gk20a_readl(g, therm_grad_stepping0_r()); | 86 | v = gk20a_readl(g, therm_grad_stepping0_r()); |
87 | v |= therm_grad_stepping0_feature_enable_f(); | 87 | v |= therm_grad_stepping0_feature_enable_f(); |
88 | gk20a_writel(g, therm_grad_stepping0_r(), v); | 88 | gk20a_writel(g, therm_grad_stepping0_r(), v); |
89 | 89 | ||
90 | /* disable idle clock slowdown */ | ||
91 | v = therm_clk_slowdown_2_idle_condition_a_select_f(0) | | ||
92 | therm_clk_slowdown_2_idle_condition_a_type_never_f() | | ||
93 | therm_clk_slowdown_2_idle_condition_b_type_never_f(); | ||
94 | gk20a_writel(g, therm_clk_slowdown_2_r(0), v); | ||
95 | |||
90 | return 0; | 96 | return 0; |
91 | } | 97 | } |
92 | 98 | ||