summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gr_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/gr_gp10b.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
index 84482d68..e04aec7d 100644
--- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
@@ -2098,6 +2098,14 @@ static int gr_gp10b_set_preemption_mode(struct channel_gk20a *ch,
2098 return 0; 2098 return 0;
2099 2099
2100 if (g->ops.gr.set_ctxsw_preemption_mode) { 2100 if (g->ops.gr.set_ctxsw_preemption_mode) {
2101
2102 gk20a_dbg(gpu_dbg_sched, "chid=%d tsgid=%d pid=%d "
2103 "graphics_preempt=%d compute_preempt=%d",
2104 ch->hw_chid,
2105 ch->tsgid,
2106 ch->tgid,
2107 graphics_preempt_mode,
2108 compute_preempt_mode);
2101 err = g->ops.gr.set_ctxsw_preemption_mode(g, gr_ctx, vm, class, 2109 err = g->ops.gr.set_ctxsw_preemption_mode(g, gr_ctx, vm, class,
2102 graphics_preempt_mode, compute_preempt_mode); 2110 graphics_preempt_mode, compute_preempt_mode);
2103 if (err) { 2111 if (err) {