diff options
Diffstat (limited to 'kernel/gsp_phys_gpu.h')
| -rw-r--r-- | kernel/gsp_phys_gpu.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel/gsp_phys_gpu.h b/kernel/gsp_phys_gpu.h index 925bfb2..d3751c5 100644 --- a/kernel/gsp_phys_gpu.h +++ b/kernel/gsp_phys_gpu.h @@ -108,6 +108,18 @@ int gsp_phys_rmcall_channel_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 |
