summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_phys_gpu.h
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-05 13:40:15 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-05 13:40:15 -0400
commite075cb90a31b1b6dd6deec713faa0db9f21218dc (patch)
treeeb9c07872f45a2b28eeef9b87f198a0ee5f7a453 /kernel/gsp_phys_gpu.h
parent3cd6ac1e06d4f13245dcbb55ebd63a86573cfedf (diff)
downloadopen-iov-e075cb90a31b1b6dd6deec713faa0db9f21218dc.tar.gz
open-iov-e075cb90a31b1b6dd6deec713faa0db9f21218dc.zip
vgsp: add gsp_phys_rmcall_channel to force one GR channel variant
Lets a bisection pair any promote shape with any channel shape, in particular V6 (SKIP_CTXBUFFER_ALLOC, KMD-managed) with the server-managed VA-only promote: with skip-ctxbuffer the server's kgrctxMapCtxBuffers does not pre-book the engine context vaList, so the VA branch's vaListSetManaged(NV_FALSE) gate should pass and the per-buffer commit can program the engine context VA. Default 0 keeps the mode-selected walk byte-identical. Not hardware-tested (GPU wedged; see Handoff ADDENDUM 51).
Diffstat (limited to 'kernel/gsp_phys_gpu.h')
-rw-r--r--kernel/gsp_phys_gpu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/gsp_phys_gpu.h b/kernel/gsp_phys_gpu.h
index a270df8..925bfb2 100644
--- a/kernel/gsp_phys_gpu.h
+++ b/kernel/gsp_phys_gpu.h
@@ -90,6 +90,13 @@ bool gsp_phys_srv_ctxbuf_value(void);
bool gsp_phys_srv_ctxcommit_value(void);
/*
+ * gsp_phys_rmcall_channel: force one channel-alloc variant id on the GR
+ * ladder (0 = the promote-mode-selected default). 5 = V5 (client memdescs,
+ * no skip-ctxbuffer), 6 = V6 (SKIP_CTXBUFFER_ALLOC, KMD-managed ctx).
+ */
+int gsp_phys_rmcall_channel_value(void);
+
+/*
* True when the gsp_phys_work_forward module parameter is set (default 0: the
* guest's CE pushes stay software-emulated exactly as before). When set, the
* sema service shadows each decoded CE push as one copy on the debugfs ladder's