summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c
index b9f50817..b844875b 100644
--- a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c
+++ b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c
@@ -371,7 +371,12 @@ struct gk20a_platform t18x_gpu_tegra_platform = {
371 .railgate_delay = 500, 371 .railgate_delay = 500,
372 372
373 /* power management configuration */ 373 /* power management configuration */
374 /* WAR: Rail-gating GPU causes hangs on kernel-4.4 */
375#if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,0)
374 .can_railgate = true, 376 .can_railgate = true,
377#else
378 .can_railgate = false,
379#endif
375 .enable_elpg = true, 380 .enable_elpg = true,
376 .can_elpg = true, 381 .can_elpg = true,
377 .enable_blcg = true, 382 .enable_blcg = true,