diff options
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c index 2bca2bd5..fd3c3e2c 100644 --- a/drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c +++ b/drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c | |||
@@ -327,6 +327,16 @@ int gp10b_clk_get_freqs(struct device *dev, | |||
327 | unsigned long max_rate; | 327 | unsigned long max_rate; |
328 | unsigned long new_rate = 0, prev_rate = 0; | 328 | unsigned long new_rate = 0, prev_rate = 0; |
329 | int i = 0, freq_counter = 0; | 329 | int i = 0, freq_counter = 0; |
330 | struct gk20a *g = get_gk20a(dev); | ||
331 | |||
332 | /* | ||
333 | * Limit minimum frequency to 216.75MHz for gv11b, until issue | ||
334 | * with lower frequencies are root caused - Bug 2056266 | ||
335 | * This hack needs to be removed once actual issue got fixed | ||
336 | */ | ||
337 | |||
338 | if ((g->params.gpu_arch + g->params.gpu_impl) == NVGPU_GPUID_GV11B) | ||
339 | new_rate = 216750000; | ||
330 | 340 | ||
331 | max_rate = clk_round_rate(platform->clk[0], (UINT_MAX - 1)); | 341 | max_rate = clk_round_rate(platform->clk[0], (UINT_MAX - 1)); |
332 | 342 | ||