summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/fifo/submit.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/fifo/submit.c')
-rw-r--r--drivers/gpu/nvgpu/common/fifo/submit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/fifo/submit.c b/drivers/gpu/nvgpu/common/fifo/submit.c
index 5e218fbc..599539cd 100644
--- a/drivers/gpu/nvgpu/common/fifo/submit.c
+++ b/drivers/gpu/nvgpu/common/fifo/submit.c
@@ -336,7 +336,7 @@ static int nvgpu_submit_channel_gpfifo(struct channel_gk20a *c,
336 return -ENODEV; 336 return -ENODEV;
337 } 337 }
338 338
339 if (c->has_timedout) { 339 if (gk20a_channel_check_timedout(c)) {
340 return -ETIMEDOUT; 340 return -ETIMEDOUT;
341 } 341 }
342 342
@@ -504,7 +504,7 @@ static int nvgpu_submit_channel_gpfifo(struct channel_gk20a *c,
504 } 504 }
505 } 505 }
506 506
507 if (c->has_timedout) { 507 if (gk20a_channel_check_timedout(c)) {
508 err = -ETIMEDOUT; 508 err = -ETIMEDOUT;
509 goto clean_up; 509 goto clean_up;
510 } 510 }