summaryrefslogtreecommitdiffstats
path: root/kernel/gsp_phys_gpu.h
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-07 11:35:52 -0400
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-10-07 11:35:52 -0400
commit4148a6b1e3c0c4c4cc68739315d6dc9c6a8d3233 (patch)
tree7004dd4ed7705525df715144f68f79ac2bd868db /kernel/gsp_phys_gpu.h
parentde66b6136f5d5d10a8306a87ef4b7077ee69a350 (diff)
downloadopen-iov-4148a6b1e3c0c4c4cc68739315d6dc9c6a8d3233.tar.gz
open-iov-4148a6b1e3c0c4c4cc68739315d6dc9c6a8d3233.zip
vgsp: m84 - stage-4 CE read-back of the GR context image header and VEID0 subctx header
gsp_phys_rmcall_gr_img_probe=1: after the stage-4 GR sem proof the ladder re-binds the rmcall channel to COPY0, copies image VA 0x2200000 and the subctx header VA 0x22f3000 into the DST sysmem chunk through the real CE, dumps the header pointers, and re-binds GR0. This is the missing read path for the FBMEM context image (the GPC exception at QMD activation needs the image's PATCH/PM/ZCULL/priv-map/global pointers and the subctx header content to be compared against the expected VAs).
Diffstat (limited to 'kernel/gsp_phys_gpu.h')
-rw-r--r--kernel/gsp_phys_gpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/gsp_phys_gpu.h b/kernel/gsp_phys_gpu.h
index 9bd5624..1b0bac3 100644
--- a/kernel/gsp_phys_gpu.h
+++ b/kernel/gsp_phys_gpu.h
@@ -366,6 +366,10 @@ int gsp_phys_rmcall_gr_lane_skip_value(void);
* records are readable (default 0 = server FBMEM). */
int gsp_phys_rmcall_gr_notifier_sys_value(void);
+/* m84: stage-4 CE read-back of the GR context image header + subctx header
+ * (default 0). */
+int gsp_phys_rmcall_gr_img_probe_value(void);
+
/*
* Ladder VAS ownership selector (gsp_phys_rmcall_vas_shared; default 0).
* 0 = FERMI_VASPACE_A is allocated IS_EXTERNALLY_OWNED (historical ladder