mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
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 <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1917631 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
8c2d7f5ff1
commit
61a7a1a5e3
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user