mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: define preemption modes in common code
Use common preemption modes in common code instead of using linux specific definitions Jira NVGPU-392 Change-Id: Iff65ab4278973f2e2d7db33f6fedb561b2164c42 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1596931 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
0f52023687
commit
4dbf6f7bd6
@@ -1765,7 +1765,7 @@ int gr_gv11b_pre_process_sm_exception(struct gk20a *g,
|
||||
|
||||
if (fault_ch)
|
||||
cilp_enabled = (fault_ch->ch_ctx.gr_ctx->compute_preempt_mode ==
|
||||
NVGPU_COMPUTE_PREEMPTION_MODE_CILP);
|
||||
NVGPU_PREEMPTION_MODE_COMPUTE_CILP);
|
||||
|
||||
gk20a_dbg(gpu_dbg_fn | gpu_dbg_gpu_dbg,
|
||||
"SM Exception received on gpc %d tpc %d sm %d = 0x%08x",
|
||||
|
||||
Reference in New Issue
Block a user