summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2018-03-02 13:26:18 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-06 15:18:43 -0500
commitc363e1ebe6573dc1b0308fe40aedf158b0a28296 (patch)
tree193cda89a82fce33832c358e9b4e80c09b5b8a5a /drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c
parent70fb27bb6c128c761b4b1649a5b019e430cd697d (diff)
Revert "gpu: nvgpu: gv11b: limit min freq to 216.75Mhz"
Actual issue with low frequency is root caused, so reverting this hack. Bug 2056266 This reverts commit 9afb74dada5e318ec6b40ff4745e4d4adf8ee8b2. Change-Id: Iab4f05b4e78f681298b9bf732289de9e2026d6b3 Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1667549 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c
index c90277e7..782a3d88 100644
--- a/drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c
+++ b/drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c
@@ -327,16 +327,6 @@ 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;
340 330
341 max_rate = clk_round_rate(platform->clk[0], (UINT_MAX - 1)); 331 max_rate = clk_round_rate(platform->clk[0], (UINT_MAX - 1));
342 332