summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_phys_gpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/gsp_phys_gpu.h')
-rw-r--r--kernel/gsp_phys_gpu.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/gsp_phys_gpu.h b/kernel/gsp_phys_gpu.h
index 74e3103..b204961 100644
--- a/kernel/gsp_phys_gpu.h
+++ b/kernel/gsp_phys_gpu.h
@@ -92,6 +92,18 @@ bool gsp_phys_srv_ctxbuf_value(void);
bool gsp_phys_work_forward_enabled(void);
/*
+ * True when the gsp_phys_gr_forward module parameter is set (default 0: guest
+ * GR (compute) launches stay on the existing host CUDA bridge / software
+ * path). When set, the sema service captures a completed guest inline QMD and
+ * the booter submits it as real work on the ladder's physical GR channel,
+ * but only after boot_stage.rmcall_gr_exec_ok proved a real GR submission at
+ * boot (gsp_phys_backend_gr_ready() enforces the gate). Every forward
+ * refusal/failure falls back to the CUDA bridge (when enabled) and then the
+ * unchanged software release path. One-line rollback: gsp_phys_gr_forward=0.
+ */
+bool gsp_phys_gr_forward_enabled(void);
+
+/*
* True when the gsp_phys_guest_mem module parameter is set (default 0: the
* debugfs rm-call ladder stays entirely on module-owned buffers, exactly as
* before). When set, ladder triggers 6 (W2G) and 7 (G2H) may point the real