summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c
index 85c55955..45d9ae9c 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * GK20A Channel Synchronization Abstraction 2 * GK20A Channel Synchronization Abstraction
3 * 3 *
4 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"), 7 * copy of this software and associated documentation files (the "Software"),
@@ -194,7 +194,8 @@ static int __gk20a_channel_syncpt_incr(struct gk20a_channel_sync *s,
194 c->g->ops.fifo.add_syncpt_incr_cmd(c->g, wfi_cmd, 194 c->g->ops.fifo.add_syncpt_incr_cmd(c->g, wfi_cmd,
195 incr_cmd, sp->id, sp->syncpt_buf.gpu_va); 195 incr_cmd, sp->id, sp->syncpt_buf.gpu_va);
196 196
197 thresh = nvgpu_nvhost_syncpt_incr_max_ext(sp->nvhost_dev, sp->id, 2); 197 thresh = nvgpu_nvhost_syncpt_incr_max_ext(sp->nvhost_dev, sp->id,
198 c->g->ops.fifo.get_syncpt_incr_per_release());
198 199
199 if (register_irq) { 200 if (register_irq) {
200 struct channel_gk20a *referenced = gk20a_channel_get(c); 201 struct channel_gk20a *referenced = gk20a_channel_get(c);