summaryrefslogtreecommitdiffstats
path: root/kernel/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/main.c')
-rw-r--r--kernel/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/main.c b/kernel/main.c
index f23be27..4f7f9ee 100644
--- a/kernel/main.c
+++ b/kernel/main.c
@@ -2265,6 +2265,14 @@ module_param_cb(chan_dump, &nv_vgpu_chan_dump_ops, NULL, 0200);
MODULE_PARM_DESC(chan_dump, "Dump the sema service channel table (any value)");
/*
+ * GR ring discovery: pin the compute channels' rings/USERDs, which follow the
+ * CE rings in the channel video-memory allocation. Default on; set 0 to leave
+ * GR channels untranslated when debugging push-execution side effects.
+ */
+module_param_named(sema_gr_rings, gsp_sema_gr_rings, bool, 0644);
+MODULE_PARM_DESC(sema_gr_rings, "Auto-discover+pin GR channel rings (default 1)");
+
+/*
* Debug: inject a verified {GPU VA -> guest PA} translation into the
* semaphore service (used when the client's mapping cannot be discovered
* from guest structures):