From c363e1ebe6573dc1b0308fe40aedf158b0a28296 Mon Sep 17 00:00:00 2001 From: seshendra Gadagottu Date: Fri, 2 Mar 2018 10:26:18 -0800 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1667549 Reviewed-by: svc-mobile-coverity GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/linux/platform_gp10b_tegra.c | 10 ---------- 1 file changed, 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, unsigned long max_rate; unsigned long new_rate = 0, prev_rate = 0; int i = 0, freq_counter = 0; - struct gk20a *g = get_gk20a(dev); - - /* - * Limit minimum frequency to 216.75MHz for gv11b, until issue - * with lower frequencies are root caused - Bug 2056266 - * This hack needs to be removed once actual issue got fixed - */ - - if ((g->params.gpu_arch + g->params.gpu_impl) == NVGPU_GPUID_GV11B) - new_rate = 216750000; max_rate = clk_round_rate(platform->clk[0], (UINT_MAX - 1)); -- cgit v1.2.2