diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/channel.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/channel.c b/drivers/gpu/nvgpu/common/linux/channel.c index 07bb393e..dc35fbc0 100644 --- a/drivers/gpu/nvgpu/common/linux/channel.c +++ b/drivers/gpu/nvgpu/common/linux/channel.c | |||
@@ -462,11 +462,8 @@ static int gk20a_submit_prepare_syncs(struct channel_gk20a *c, | |||
462 | } | 462 | } |
463 | 463 | ||
464 | /* | 464 | /* |
465 | * Optionally insert syncpt wait in the beginning of gpfifo submission | 465 | * Optionally insert syncpt/semaphore wait in the beginning of gpfifo |
466 | * when user requested and the wait hasn't expired. Validate that the id | 466 | * submission when user requested and the wait hasn't expired. |
467 | * makes sense, elide if not. The only reason this isn't being | ||
468 | * unceremoniously killed is to keep running some tests which trigger | ||
469 | * this condition. | ||
470 | */ | 467 | */ |
471 | if (flags & NVGPU_SUBMIT_GPFIFO_FLAGS_FENCE_WAIT) { | 468 | if (flags & NVGPU_SUBMIT_GPFIFO_FLAGS_FENCE_WAIT) { |
472 | int max_wait_cmds = c->deterministic ? 1 : 0; | 469 | int max_wait_cmds = c->deterministic ? 1 : 0; |