summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/os
diff options
context:
space:
mode:
authorDebarshi Dutta <ddutta@nvidia.com>2018-07-10 08:47:36 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-07-11 13:28:00 -0400
commit1d82693cef59917930267f4fa9ecc4ac9c7a3c7b (patch)
tree8a758b6a8606aa169048197208ed90b65ebb1693 /drivers/gpu/nvgpu/os
parentaaf549ace8501d587806241b3cb56c2d706116d2 (diff)
Revert "gpu: nvgpu: disable powergating for kernel-4.14 in gp10b temporarily."
This reverts commit 74d786dd1327bafa18b21310ac8d67db4a5614cb. With the recent powergating changes that got merged in k4.14 and by disabling CONFIG_PROVE_LOCKING, we no longer see any issues in T186. The reboots observer earlier have stopped and the status of nvgpu_submit and nvrm_gpu_tests remain the same without causing any more issues Bug 200414723 Change-Id: Iea872612a233cb3d79df772a78fd6349c69323f2 Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1775199 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/os')
-rw-r--r--drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c
index dccc5c3e..d5530368 100644
--- a/drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c
+++ b/drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c
@@ -13,7 +13,6 @@
13 * more details. 13 * more details.
14 */ 14 */
15 15
16#include <linux/version.h>
17#include <linux/of_platform.h> 16#include <linux/of_platform.h>
18#include <linux/debugfs.h> 17#include <linux/debugfs.h>
19#include <linux/dma-buf.h> 18#include <linux/dma-buf.h>
@@ -416,18 +415,6 @@ struct gk20a_platform gp10b_tegra_platform = {
416 .ldiv_slowdown_factor_init = SLOWDOWN_FACTOR_FPDIV_BY16, 415 .ldiv_slowdown_factor_init = SLOWDOWN_FACTOR_FPDIV_BY16,
417 416
418 /* power management configuration */ 417 /* power management configuration */
419#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
420 .can_railgate_init = false,
421 .enable_elpg = false,
422 .can_elpg_init = false,
423 .enable_blcg = false,
424 .enable_slcg = false,
425 .enable_elcg = false,
426 .can_slcg = false,
427 .can_blcg = false,
428 .can_elcg = false,
429 .enable_aelpg = false,
430#else
431 .can_railgate_init = true, 418 .can_railgate_init = true,
432 .enable_elpg = true, 419 .enable_elpg = true,
433 .can_elpg_init = true, 420 .can_elpg_init = true,
@@ -438,7 +425,6 @@ struct gk20a_platform gp10b_tegra_platform = {
438 .can_blcg = true, 425 .can_blcg = true,
439 .can_elcg = true, 426 .can_elcg = true,
440 .enable_aelpg = true, 427 .enable_aelpg = true,
441#endif
442 .enable_perfmon = true, 428 .enable_perfmon = true,
443 429
444 /* ptimer src frequency in hz*/ 430 /* ptimer src frequency in hz*/