diff options
author | Bharat Nihalani <bnihalani@nvidia.com> | 2016-06-10 08:09:17 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:56:17 -0500 |
commit | 4306af531d1e0b68b1b24d9c4a625018461d6d34 (patch) | |
tree | 1900f75ed8d7a9f441846da3f72c3681a4f4bf09 /drivers/gpu/nvgpu/gp10b | |
parent | ca2c4ce83a846bbab953e91af37c762efaa975e6 (diff) |
WAR: gpu: nvgpu: gp10b: disable railgate for K4.4
This is done to mask a race issue seen where power refcount
is zero during ISR or bottom half.
Bug 200198908
Change-Id: I0a8ed774cd4fda9db65429b5aad03c5e001ff666
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/1162314
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c | 5 |
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, |