From 61a7a1a5e32cec57ff0593161683e30ca3fbd50e Mon Sep 17 00:00:00 2001 From: Philip Elcan Date: Fri, 28 Sep 2018 14:38:08 -0400 Subject: [PATCH] gpu: nvgpu: fix gk20a_fifo_preempt_timeout_rc call This fixes calls to gk20a_fifo_preempt_timeout_rc that were using bool params instead of the correct macros. JIRA NVGPU-647 Change-Id: I7ec4d086d3abb4eab40cbea2bbf28ba08fbb0fa4 Signed-off-by: Philip Elcan Reviewed-on: https://git-master.nvidia.com/r/1917631 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c index 3c0d6499f..886096d11 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c @@ -2992,7 +2992,7 @@ int gk20a_fifo_preempt_channel(struct gk20a *g, u32 chid) nvgpu_err(g, "preempt timed out for chid: %u, " "ctxsw timeout will trigger recovery if needed", chid); } else { - gk20a_fifo_preempt_timeout_rc(g, chid, false); + gk20a_fifo_preempt_timeout_rc(g, chid, ID_TYPE_CHANNEL); } } @@ -3036,7 +3036,7 @@ int gk20a_fifo_preempt_tsg(struct gk20a *g, u32 tsgid) nvgpu_err(g, "preempt timed out for tsgid: %u, " "ctxsw timeout will trigger recovery if needed", tsgid); } else { - gk20a_fifo_preempt_timeout_rc(g, tsgid, true); + gk20a_fifo_preempt_timeout_rc(g, tsgid, ID_TYPE_TSG); } }