summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/sync/channel_sync.c
diff options
context:
space:
mode:
authorKonsta Hölttä <kholtta@nvidia.com>2020-07-29 01:48:03 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2020-09-22 22:08:37 -0400
commitcd134bb198d7138a3c2fcb17d11f2eedf934e2c4 (patch)
treeb7f14d310662ff144b20f8620d78fd10444deec7 /drivers/gpu/nvgpu/common/sync/channel_sync.c
parent4f66942afaaae2fcfedec2bf351664ac3b656238 (diff)
gpu: nvgpu: delete priv cmd buf size warnings
Running out of priv cmd buffer allocation capacity is typically a recoverable "error" caused by extra pressure wrt. allocation sizes based on number of inflight jobs chosen by userspace. These conditions return -EAGAIN and further retries will succeed as long as the channel advances with submitted jobs. Remove the unnecessary debug spew. Bug 200641803 Bug 200651329 Change-Id: I4dfc38cfc3eb10d57ac11c1b7164c3d84f9034d3 Signed-off-by: Konsta Hölttä <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2388799 (cherry picked from commit 29ad324f8226ed3326f5de9117b9115a15cdd032) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2410069 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/common/sync/channel_sync.c')
-rw-r--r--drivers/gpu/nvgpu/common/sync/channel_sync.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/common/sync/channel_sync.c b/drivers/gpu/nvgpu/common/sync/channel_sync.c
index b40de834..a88092e1 100644
--- a/drivers/gpu/nvgpu/common/sync/channel_sync.c
+++ b/drivers/gpu/nvgpu/common/sync/channel_sync.c
@@ -66,7 +66,6 @@ int channel_sync_syncpt_gen_wait_cmd(struct channel_gk20a *c,
66 err = gk20a_channel_alloc_priv_cmdbuf(c, 66 err = gk20a_channel_alloc_priv_cmdbuf(c,
67 c->g->ops.fifo.get_syncpt_wait_cmd_size(), wait_cmd); 67 c->g->ops.fifo.get_syncpt_wait_cmd_size(), wait_cmd);
68 if (err != 0) { 68 if (err != 0) {
69 nvgpu_err(c->g, "not enough priv cmd buffer space");
70 return err; 69 return err;
71 } 70 }
72 } 71 }
@@ -464,8 +463,6 @@ static int channel_sync_semaphore_incr_common(
464 incr_cmd_size = c->g->ops.fifo.get_sema_incr_cmd_size(); 463 incr_cmd_size = c->g->ops.fifo.get_sema_incr_cmd_size();
465 err = gk20a_channel_alloc_priv_cmdbuf(c, incr_cmd_size, incr_cmd); 464 err = gk20a_channel_alloc_priv_cmdbuf(c, incr_cmd_size, incr_cmd);
466 if (err) { 465 if (err) {
467 nvgpu_err(c->g,
468 "not enough priv cmd buffer space");
469 goto clean_up_sema; 466 goto clean_up_sema;
470 } 467 }
471 468