summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/fence_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fence_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fence_gk20a.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fence_gk20a.c b/drivers/gpu/nvgpu/gk20a/fence_gk20a.c
index 1c34d803..def916b3 100644
--- a/drivers/gpu/nvgpu/gk20a/fence_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/fence_gk20a.c
@@ -64,6 +64,8 @@ struct gk20a_fence *gk20a_fence_get(struct gk20a_fence *f)
64 64
65int gk20a_fence_wait(struct gk20a_fence *f, int timeout) 65int gk20a_fence_wait(struct gk20a_fence *f, int timeout)
66{ 66{
67 if (!tegra_platform_is_silicon())
68 timeout = (u32)MAX_SCHEDULE_TIMEOUT;
67 return f->ops->wait(f, timeout); 69 return f->ops->wait(f, timeout);
68} 70}
69 71