summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv100/hal_gv100.c
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2018-04-23 17:50:36 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-05-02 13:09:06 -0400
commitea926889657b255e753baf10a96c7c12facd831c (patch)
tree128af82a6dd4b35fb972922189e5e10164f9d445 /drivers/gpu/nvgpu/gv100/hal_gv100.c
parent5a7e2abe6c9d1809898937dfa026ca2e5464db45 (diff)
gpu: nvgpu: gv100: init get_preempt_timeout hal
Currently gv100 is using very large timeout for polling eng preempt done. This will prevent eng preempt polling loop from timing out. Also before eng preempt loop times out, there could be channel timeout getting kicked in. Avoid this by using gr_idle_timeout defined by driver. Change-Id: Icff5ae37f95f58f3195b9d630bdae42c08ced9a6 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1701059 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv100/hal_gv100.c')
-rw-r--r--drivers/gpu/nvgpu/gv100/hal_gv100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c
index fbf6e046..517c1ac6 100644
--- a/drivers/gpu/nvgpu/gv100/hal_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c
@@ -509,7 +509,7 @@ static const struct gpu_ops gv100_ops = {
509 gr_gv100_pg_gr_load_gating_prod, 509 gr_gv100_pg_gr_load_gating_prod,
510 }, 510 },
511 .fifo = { 511 .fifo = {
512 .get_preempt_timeout = gv100_fifo_get_preempt_timeout, 512 .get_preempt_timeout = gv11b_fifo_get_preempt_timeout,
513 .init_fifo_setup_hw = gv11b_init_fifo_setup_hw, 513 .init_fifo_setup_hw = gv11b_init_fifo_setup_hw,
514 .bind_channel = channel_gm20b_bind, 514 .bind_channel = channel_gm20b_bind,
515 .unbind_channel = channel_gv11b_unbind, 515 .unbind_channel = channel_gv11b_unbind,