mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
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
This commit is contained in:
committed by
mobile promotions
parent
4f66942afa
commit
cd134bb198
@@ -66,7 +66,6 @@ int channel_sync_syncpt_gen_wait_cmd(struct channel_gk20a *c,
|
|||||||
err = gk20a_channel_alloc_priv_cmdbuf(c,
|
err = gk20a_channel_alloc_priv_cmdbuf(c,
|
||||||
c->g->ops.fifo.get_syncpt_wait_cmd_size(), wait_cmd);
|
c->g->ops.fifo.get_syncpt_wait_cmd_size(), wait_cmd);
|
||||||
if (err != 0) {
|
if (err != 0) {
|
||||||
nvgpu_err(c->g, "not enough priv cmd buffer space");
|
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -464,8 +463,6 @@ static int channel_sync_semaphore_incr_common(
|
|||||||
incr_cmd_size = c->g->ops.fifo.get_sema_incr_cmd_size();
|
incr_cmd_size = c->g->ops.fifo.get_sema_incr_cmd_size();
|
||||||
err = gk20a_channel_alloc_priv_cmdbuf(c, incr_cmd_size, incr_cmd);
|
err = gk20a_channel_alloc_priv_cmdbuf(c, incr_cmd_size, incr_cmd);
|
||||||
if (err) {
|
if (err) {
|
||||||
nvgpu_err(c->g,
|
|
||||||
"not enough priv cmd buffer space");
|
|
||||||
goto clean_up_sema;
|
goto clean_up_sema;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -55,7 +55,6 @@ int nvgpu_os_fence_sema_wait_gen_cmd(struct nvgpu_os_fence *s,
|
|||||||
wait_cmd_size * num_wait_cmds,
|
wait_cmd_size * num_wait_cmds,
|
||||||
wait_cmd);
|
wait_cmd);
|
||||||
if (err) {
|
if (err) {
|
||||||
nvgpu_err(c->g, "not enough priv cmd buffer space");
|
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -65,8 +65,6 @@ int nvgpu_os_fence_syncpt_wait_gen_cmd(struct nvgpu_os_fence *s,
|
|||||||
err = gk20a_channel_alloc_priv_cmdbuf(c,
|
err = gk20a_channel_alloc_priv_cmdbuf(c,
|
||||||
wait_cmd_size * num_wait_cmds, wait_cmd);
|
wait_cmd_size * num_wait_cmds, wait_cmd);
|
||||||
if (err) {
|
if (err) {
|
||||||
nvgpu_err(c->g,
|
|
||||||
"not enough priv cmd buffer space");
|
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user