From f07b2df173d9bde832c5bf7d7f3b498b533dcb22 Mon Sep 17 00:00:00 2001 From: Vijayakumar Date: Mon, 5 Mar 2018 10:15:34 +0530 Subject: gpu: nvgpu: gv100: set sched err and ctxsw_timeout hals gv100 does not have new fifo ctxsw timeout interrupt that is present on gv11b. Use non gv11b sched error and ctxsw timeout handlers. Bug 2069807 Change-Id: I9dc2b8d9212145d7a1b0fef656aa20d2f073ea13 Signed-off-by: Vijayakumar Signed-off-by: Seema Khowala Reviewed-on: https://git-master.nvidia.com/r/1668401 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gv100/hal_gv100.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c index e2fcbf08..0dcfb064 100644 --- a/drivers/gpu/nvgpu/gv100/hal_gv100.c +++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c @@ -503,7 +503,7 @@ static const struct gpu_ops gv100_ops = { .init_pbdma_intr_descs = gv11b_fifo_init_pbdma_intr_descs, .reset_enable_hw = gk20a_init_fifo_reset_enable_hw, .teardown_ch_tsg = gv11b_fifo_teardown_ch_tsg, - .handle_sched_error = gv11b_fifo_handle_sched_error, + .handle_sched_error = gk20a_fifo_handle_sched_error, .handle_pbdma_intr_0 = gv11b_fifo_handle_pbdma_intr_0, .handle_pbdma_intr_1 = gv11b_fifo_handle_pbdma_intr_1, .init_eng_method_buffers = gv11b_fifo_init_eng_method_buffers, @@ -534,7 +534,6 @@ static const struct gpu_ops gv100_ops = { .device_info_fault_id = top_device_info_data_fault_id_enum_v, .free_channel_ctx_header = gv11b_free_subctx_header, .preempt_ch_tsg = gv11b_fifo_preempt_ch_tsg, - .handle_ctxsw_timeout = gv11b_fifo_handle_ctxsw_timeout, .apply_ctxsw_timeout_intr = gv100_apply_ctxsw_timeout_intr, }, .gr_ctx = { -- cgit v1.2.2