mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
Revert "gpu: nvgpu: deny any request less than engine timeout"
This reverts commit 4f01d6a9b9.
Change-Id: I604acef2a1f322a521df3ceb39e7df5d249a5716
Reviewed-on: https://git-master.nvidia.com/r/1818387
Reviewed-by: Emad Mir <emir@nvidia.com>
Tested-by: Emad Mir <emir@nvidia.com>
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
c4ba8ee209
commit
c615002d22
@@ -1227,11 +1227,6 @@ long gk20a_channel_ioctl(struct file *filp,
|
||||
(u32)((struct nvgpu_set_timeout_args *)buf)->timeout;
|
||||
nvgpu_log(g, gpu_dbg_gpu_dbg, "setting timeout (%d ms) for chid %d",
|
||||
timeout, ch->chid);
|
||||
if (timeout < g->fifo_eng_timeout_us / 1000) {
|
||||
dump_stack();
|
||||
err = -EINVAL;
|
||||
break;
|
||||
}
|
||||
ch->timeout_ms_max = timeout;
|
||||
gk20a_channel_trace_sched_param(
|
||||
trace_gk20a_channel_set_timeout, ch);
|
||||
@@ -1246,11 +1241,6 @@ long gk20a_channel_ioctl(struct file *filp,
|
||||
(1 << NVGPU_TIMEOUT_FLAG_DISABLE_DUMP));
|
||||
nvgpu_log(g, gpu_dbg_gpu_dbg, "setting timeout (%d ms) for chid %d",
|
||||
timeout, ch->chid);
|
||||
if (timeout < g->fifo_eng_timeout_us / 1000) {
|
||||
dump_stack();
|
||||
err = -EINVAL;
|
||||
break;
|
||||
}
|
||||
ch->timeout_ms_max = timeout;
|
||||
ch->timeout_debug_dump = timeout_debug_dump;
|
||||
gk20a_channel_trace_sched_param(
|
||||
|
||||
Reference in New Issue
Block a user