From ea926889657b255e753baf10a96c7c12facd831c Mon Sep 17 00:00:00 2001 From: Seema Khowala Date: Mon, 23 Apr 2018 14:50:36 -0700 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1701059 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gv100/hal_gv100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gv100') 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 = { gr_gv100_pg_gr_load_gating_prod, }, .fifo = { - .get_preempt_timeout = gv100_fifo_get_preempt_timeout, + .get_preempt_timeout = gv11b_fifo_get_preempt_timeout, .init_fifo_setup_hw = gv11b_init_fifo_setup_hw, .bind_channel = channel_gm20b_bind, .unbind_channel = channel_gv11b_unbind, -- cgit v1.2.2