summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gr_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/gr_gp10b.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
index 62b70a22..c35fb384 100644
--- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
@@ -46,6 +46,8 @@ struct gr_t18x {
46 struct dentry *debugfs_force_preemption_gfxp; 46 struct dentry *debugfs_force_preemption_gfxp;
47 struct dentry *debugfs_dump_ctxsw_stats; 47 struct dentry *debugfs_dump_ctxsw_stats;
48 } ctx_vars; 48 } ctx_vars;
49
50 int cilp_preempt_pending_chid;
49}; 51};
50 52
51struct gr_ctx_desc_t18x { 53struct gr_ctx_desc_t18x {
@@ -53,6 +55,9 @@ struct gr_ctx_desc_t18x {
53 struct mem_desc spill_ctxsw_buffer; 55 struct mem_desc spill_ctxsw_buffer;
54 struct mem_desc betacb_ctxsw_buffer; 56 struct mem_desc betacb_ctxsw_buffer;
55 struct mem_desc pagepool_ctxsw_buffer; 57 struct mem_desc pagepool_ctxsw_buffer;
58 u32 ctx_id;
59 bool ctx_id_valid;
60 bool cilp_preempt_pending;
56}; 61};
57 62
58#define NVGPU_GR_PREEMPTION_MODE_GFXP 1 63#define NVGPU_GR_PREEMPTION_MODE_GFXP 1